public override void Attack() { bp.FireBullet(); fireAmount--; am.PlaySoundOnce(AudioManager.Sound.EnemyFire1, AudioManager.Priority.Low, transform); if (fireAmount == 0) { CancelInvoke("Attack"); } }
public void ShootRing() { patternRing.FireBullet(); AudioManager.GetInstance().PlaySoundOnce(AudioManager.Sound.EnemyFire1, AudioManager.Priority.Low, transform); }