示例#1
0
    void LoadData()
    {
        TextAssetLoader.GetWords(ref BadWordsAsset, ref badWords);
        TextAssetLoader.GetWords(ref GoodWordsAsset, ref goodWords);

        // check load results
        Debug.Log("bad words # = " + badWords.Count);
        Debug.Log("good words # = " + goodWords.Count);
    }
示例#2
0
    void LoadDate()
    {
        TextAssetLoader.GetWords(ref BadResponsesAsset, ref badResponses);
        TextAssetLoader.GetWords(ref GoodResponsesAsset, ref goodResponses);
        TextAssetLoader.GetWords(ref NeutralResponsesAsset, ref neutralResponses);

        // check load results
        Debug.Log("bad responses # = " + badResponses.Count);
        Debug.Log("good responses # = " + goodResponses.Count);
        Debug.Log("neutral responses # = " + neutralResponses.Count);
    }