Example #1
0
    public void Consonant()
    {
        wordChecker.AddLetter(consonants[Random.Range(0, consonants.Count)]);
        if (wordChecker.anagram.Length == 9)
        {
            foreach (GameObject button in lettersButtons)
            {
                button.GetComponent <Button>().interactable = false;
            }

            Invoke("SetTimer", 3.5f);
            timer = 3.5f;

            wordChecker.GetWordList();
        }
    }