getEnergy() public method

public getEnergy ( ) : double
return double
 void Update()
 {
     eth       = Ether.getInstance();
     text.text = "Ether energy: " + eth.getEnergy().ToString("F0");
 }
Example #2
0
 void Update()
 {
     eth = Ether.getInstance();
     text.text = "Ether energy: " + eth.getEnergy().ToString("F0");
 }