// 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; }
public void RepeatGame() { CompletedGamePanel.SetActive(false); SceneManager.LoadScene("Game"); }
public void ReturnToGameSelector() { CompletedGamePanel.SetActive(false); SceneManager.LoadScene("GameSelector"); }