Exemplo n.º 1
0
 void CreateLevel()
 {
     Game.state  = GameState.level;
     actualLevel = Instantiate(levelPrefabs[Game.level]);
     endLevel    = GameObject.FindGameObjectWithTag("EndLevel");
     zoom.SetColliders(actualLevel.transform);
 }