void OnBoostEnd(Event_BoostEnded e) { if (e.Type == BoostType.SpeedUp) { var emis = SpeedParticles.emission; emis.enabled = false; } }
void OnBoostEnded(Event_BoostEnded e) { _activeBoost = null; _owner.UpdateBoostButtonsAvailability(); }