IEnumerator StopFire() { for (int i = 0; i < bulletsArray.Length; i++) { if (bulletsArray[i] != null) { StandardFireFunctions.StopFire(bulletsArray[i]); } } yield return(null); }
IEnumerator Stop() { StandardFireFunctions.StopFire(gameObject); yield return(new WaitForSeconds(stopWaitTime)); }