Пример #1
0
 void OnBoostEnd(Event_BoostEnded e)
 {
     if (e.Type == BoostType.SpeedUp)
     {
         var emis = SpeedParticles.emission;
         emis.enabled = false;
     }
 }
Пример #2
0
 void OnBoostEnded(Event_BoostEnded e)
 {
     _activeBoost = null;
     _owner.UpdateBoostButtonsAvailability();
 }