Beispiel #1
0
        public void StartChargingPass()
        {
            PlayerChargedPassFx playerChargedPassCmp = new PlayerChargedPassFx();

            Owner.Attach(playerChargedPassCmp);

            m_chargingPass = true;
        }
Beispiel #2
0
        public void StopChargingPass()
        {
            PlayerChargedPassFx playerChargedPassCmp = Owner.FindComponent <PlayerChargedPassFx>();

            if (playerChargedPassCmp != null)
            {
                playerChargedPassCmp.Stop();
            }

            m_chargingPass = false;
        }