protected override void Start() { missileSpeed = 15f; timerManager = GetComponent <TimerManager>(); readyShot += ReadyShot; mChargingClip = m_ChargingEffect.GetComponent <AudioSource>(); mChargingFailedClip = m_ChargingFailedEffect.GetComponent <AudioSource>(); mRandomChargingSFXAssigner = mChargingFailedClip.GetComponent <RandomSFXAssigner>(); base.Start(); }
// Start is called before the first frame update protected virtual void Start() { audioSource = GetComponent <AudioSource>(); sfxAssigner = GetComponent <RandomSFXAssigner>(); }