public void StartChargingPass() { PlayerChargedPassFx playerChargedPassCmp = new PlayerChargedPassFx(); Owner.Attach(playerChargedPassCmp); m_chargingPass = true; }
public void StopChargingPass() { PlayerChargedPassFx playerChargedPassCmp = Owner.FindComponent <PlayerChargedPassFx>(); if (playerChargedPassCmp != null) { playerChargedPassCmp.Stop(); } m_chargingPass = false; }