Ejemplo n.º 1
0
 private void Awake()
 {
     if (INSTANCE != null && INSTANCE != this)
     {
         Destroy(gameObject);
     }
     else
     {
         INSTANCE = this;
     }
     finalDoorIndex = 0;
     InitPlayers();
     doorManager.Init();
     levelGenerator.Init(players);
     BuildTeams();
 }