Exemplo n.º 1
0
 public void Shoot()
 {
     //if the ship is a single shot ship then call the standard fire method, otherwise call the burst shot method
     if (playerShootScript.SingleShot)
     {
         playerShootScript.Fire();
     }
     else
     {
         playerShootScript.BurstFire();
     }
 }