コード例 #1
0
    public IEnumerator ProcessRequests()
    {
        yield return(0);

        Debug.Log(currentWordRequest.difficultyLevel);
        string word = WordCollection.GetRandomWord(currentWordRequest.difficultyLevel);

        CharacterData[] charsData = FontCollection.GetCharacters(word);
        if (word != null && charsData.Length > 0)
        {
            FinishProcessingRequest(new WordData(word, charsData));
        }
    }