Exemplo n.º 1
0
    //刷新难度标签;
    void UpdateDifficults(ChapterinfoTemplate chapterT)
    {
        int difficultCount = StageModule.GetDifficultCount(chapterT);

        m_normal.gameObject.SetActive(difficultCount >= 1);
        m_hard.gameObject.SetActive(difficultCount >= 2);
        m_hardest.gameObject.SetActive(difficultCount >= 3);
    }