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