public void EndGame(bool solved) { inputText.gameObject.SetActive(false); exitButton.gameObject.SetActive(false); trigger.SolveCode(solved); }