Пример #1
0
 void OnChargeBarChange(Dictionary <string, object> arg)
 {
     chargeBar.SetCurrentValue((float)arg["current"], (float)arg["max"]);
 }
Пример #2
0
 void OnHealthChange(Dictionary <string, object> arg)
 {
     healthBar.SetCurrentValue((float)arg["current"], (float)arg["max"]);
 }