public void Click(GameObject thisButton) { StopAllCoroutines(); if (Randomizer.AlfabetContain(thisButton.GetComponentInChildren <Text>().text)) { StartCoroutine(Display("CORRETO", Color.green, time)); count++; Destroy(thisButton, time); } else { StartCoroutine(Display("ERRADO", Color.red, time)); } if (count.Equals(correct)) { UnityEngine.SceneManagement.SceneManager.LoadScene("LigueAsLetrinhas"); } }