Ejemplo n.º 1
0
 void OnChargeBarChange(Dictionary <string, object> arg)
 {
     chargeBar.SetCurrentValue((float)arg["current"], (float)arg["max"]);
 }
Ejemplo n.º 2
0
 void OnHealthChange(Dictionary <string, object> arg)
 {
     healthBar.SetCurrentValue((float)arg["current"], (float)arg["max"]);
 }