Exemplo n.º 1
0
    void QRandom()
    {
        for (int i = 0; i < m_WordList.Count; i++)
        {
            // 겹치는 단어가 1개라도 있을때
            if (m_WordList.GetInfo(i).m_CrossWordList.Count > 0)
            {
                int index = Random.Range(0, m_WordList.GetInfo(i).m_CrossWordList.Count);

                MakeGrid(m_WordList.GetWord(index));
            }
        }
    }
Exemplo n.º 2
0
    public static WordList GetList(int _count)
    {
        WordList TempList = new WordList();

        for (int i = 0; i < m_WordList.Count; i++)
        {
            if (m_WordList.Count <= i)
            {
                break;
            }
            TempList.Add(m_WordList.GetInfo(i), m_WordList.GetAnswer(i), m_WordList.GetMeaning(i));
        }
        return(TempList);
    }