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