void OnChangeEnergy(float currentEnergy) { EventManager.TriggerEvent(Constants.EVENT_REFRESH_SYNC_ENERGY, new { energy = currentEnergy, ownNetId = _race.netId.Value }); }
void OnChangeEnergy(float currentEnergy) { EventManager.TriggerEvent(Constants.EVENT_REFRESH_SYNC_ENERGY, new { energy = currentEnergy, ownNetId = _race.netId.Value }); }