Пример #1
0
        public void ActiveUI(UIListEnum uiIndex, bool active)
        {
            m_currentUIListEnum = uiIndex;
            int uiIndexVal = (int)uiIndex;

            ActiveUI(uiIndexVal, active);
        }
Пример #2
0
        public void OnlyActiveUI(UIListEnum uiIndex)
        {
            for (int i = 0; i < m_uiGameObjectList.Count; i++)
            {
                ActiveUI(i, false);
            }

            m_currentUIListEnum = uiIndex;
            int uiIndexVal = (int)uiIndex;

            ActiveUI(uiIndexVal, true);
        }