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