예제 #1
0
 void GoToNextMap()
 {
     PrepareTheMap(mapManager.GetNextMap());
     MovePlayerToSpawnPoint();
     player.Disappear();
     levelVisualizer.Show();
 }
예제 #2
0
 void InicializeVariables()
 {
     mapManager      = FindObjectOfType <MapManager>();
     cameraManager   = FindObjectOfType <CameraManager>();
     levelVisualizer = GetComponent <LevelVisualizer>();
     levelVisualizer.Show();
 }