public void ChangeText() { Text txt = transform.Find("Text").GetComponent <Text>(); Debug.Log(txt.text); JSONReader.checkChoosed(txt.text); SceneManager.LoadScene("quiz"); }