예제 #1
0
    void OnShowLeftChange()
    {
        var iter = m_dicLeftItem.GetEnumerator();

        while (iter.MoveNext())
        {
            var           dic  = iter.Current;
            LeftSkillItem item = dic.Value;
            if (m_bLeftChange)
            {
                if (item.ItemState == LeftLearnSkillItemState.OpenNotSetAndNotSelect || item.ItemState == LeftLearnSkillItemState.OpenNotSetAndSelect)
                {
                    item.SetItemState(LeftLearnSkillItemState.OpenNotSetAndCanSet);
                }
            }
            else
            {
                item.ResetState();
            }
        }
    }