/// <summary> /// Navigates back to MainMenu. /// </summary> public void GoBack() { mainMenuCanvas.SetActive(true); JoinSessionCanvas.SetActive(false); }
/// <summary> /// Called by unity engine, when gameObject is instantiated. /// /// Hides the menu when game is opened. /// </summary> void Start() { JoinSessionCanvas.SetActive(false); }