Example #1
0
 public void Shoot()
 {
     mTurret.Shoot();
 }
Example #2
0
 // Shoot in the specified direction. The y component is ignored
 public void Shoot(Vector3 dir)
 {
     turret.Shoot(dir);
 }
Example #3
0
    public void Shoot()
    {
        TankTurret turret = turretKeeper.GetComponentInChildren <TankTurret>();

        turret.Shoot();
    }