Units.getEnergyMax C# (CSharp) Method