예제 #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;
 }
예제 #2
0
 public void RepeatGame()
 {
     CompletedGamePanel.SetActive(false);
     SceneManager.LoadScene("Game");
 }
예제 #3
0
 public void ReturnToGameSelector()
 {
     CompletedGamePanel.SetActive(false);
     SceneManager.LoadScene("GameSelector");
 }