Пример #1
0
 // Update is called once per frame
 void Update()
 {
     if (lvlInstance)
     {
         if (!Player.GetInstance() && SpawnPlayer.GetInstance())
         {
             SpawnPlayer.GetInstance().Spawn(player);
         }
     }
 }