public void ActiveUI(UIListEnum uiIndex, bool active) { m_currentUIListEnum = uiIndex; int uiIndexVal = (int)uiIndex; ActiveUI(uiIndexVal, active); }
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); }