Exemple #1
0
 private void HandleShooting()
 {
     if (_fireInput > 0)
     {
         _shipModel.FireGun(Vector2.up);
     }
 }
Exemple #2
0
 public void FireGun()
 {
     shipView.OnFire();
     shipModel.FireGun(Vector2.down);
 }