Ejemplo n.º 1
0
 public void BackToMenu()
 {
     gameObject.SetActive(false);
     PickCharacterMenu.SetActive(false);
     transform.Find("Selection/Mode/Classic").GetComponent <Toggle>().isOn      = false;
     transform.Find("Selection/Mode/Practice").GetComponent <Toggle>().isOn     = false;
     transform.Find("Selection/Mode/Time").GetComponent <Toggle>().isOn         = false;
     transform.Find("Selection/Difficulty/Normal").GetComponent <Toggle>().isOn = false;
     transform.Find("Selection/Difficulty/Hard").GetComponent <Toggle>().isOn   = false;
     _mainMenuManager.MoveCamera(_mainMenuManager.CameraPosMainMenu, _mainMenuManager.CameraRotMainMenu);
 }
Ejemplo n.º 2
0
 public void SLA()
 {
     gameObject.SetActive(false);
     _slaMenu.gameObject.SetActive(true);
     _mainMenuManager.MoveCamera(_mainMenuManager.CameraPosSLA, _mainMenuManager.CameraRotSLA);
 }
Ejemplo n.º 3
0
 public void BackToMenu()
 {
     gameObject.SetActive(false);
     _mainMenuManager.MoveCamera(_mainMenuManager.CameraPosMainMenu, _mainMenuManager.CameraRotMainMenu);
 }
Ejemplo n.º 4
0
 public void Multiplayer()
 {
     _mainMenuManager.CloseAll();
     _multiplayerMenu.gameObject.SetActive(true);
     _mainMenuManager.MoveCamera(_mainMenuManager.CameraPosMainMenu, _mainMenuManager.CameraRotMainMenu);
 }