Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     //LevelEndPanel = this.gameObject;
     CompletedGamePanel.SetActive(false);
     LevelEndPanel.SetActive(false);
     //This copies the text does not reference it.
     TextInstructionsString = TextInstructionsGameObject.GetComponent <Text>().text;
 }
Exemplo n.º 2
0
 public void RepeatGame()
 {
     CompletedGamePanel.SetActive(false);
     SceneManager.LoadScene("Game");
 }
Exemplo n.º 3
0
 public void ReturnToGameSelector()
 {
     CompletedGamePanel.SetActive(false);
     SceneManager.LoadScene("GameSelector");
 }