Ejemplo n.º 1
0
 public static void FireShell(Tank tank)
 {
     FireShell (tank.tankShellPrefab, tank.tankGunEnd.transform.position, tank.GetTurretRotation());
     if (tank.cannonParticles != null)
         tank.cannonParticles.Play ();
 }