void Start() { button = GameObject.Find("FinalButton").GetComponent <FinalButton>(); nextLevel = GameObject.Find("NextLevelScreen"); nextLevel.SetActive(false); }
public void Deactivate() { FinalButton.SetActive(false); CentralText.SetActive(true); }