MainScript.getExtractRate C# (CSharp) Method