Пример #1
0
 void Start()
 {
     if (StartMenu.GetPlayerShipType() == 1)
     {
         Instantiate(PlayerShip1, PlayerShip1.transform.position, PlayerShip1.transform.rotation);
     }
     else
     {
         Instantiate(PlayerShip2, PlayerShip2.transform.position, PlayerShip2.transform.rotation);
     }
 }