Пример #1
0
 void OnChangeEnergy(float currentEnergy)
 {
     EventManager.TriggerEvent(Constants.EVENT_REFRESH_SYNC_ENERGY, new { energy = currentEnergy, ownNetId = _race.netId.Value });
 }