public void OnReset ( EMGameProcess p_UIType ) { EMUIEntity uiEntity = GetUIEntity (p_UIType); if(uiEntity != null) { uiEntity.OnReset(); } }
public void Show ( EMGameProcess p_UIType ) { EMUIEntity uiEntity = GetUIEntity (p_UIType); if(uiEntity != null) { uiEntity.SetActive(true); } }
public void SetActive ( EMGameProcess p_UIType, bool p_IsActive ) { EMUIEntity uiEntity = GetUIEntity (p_UIType); if(uiEntity != null) { uiEntity.SetActive(p_IsActive); } }
public EMUIEntity GetUIEntity ( EMGameProcess p_UIType ) { if(m_UIEntityDic.ContainsKey((int)p_UIType)) { return m_UIEntityDic[(int)p_UIType]; } return null; }
public void OnResetExcept ( EMGameProcess p_UIType ) { foreach(EMUIEntity uiEntity in m_UIEntity) { if(uiEntity != null) { if(uiEntity.Equals(p_UIType) == false) uiEntity.OnReset(); } } }
public bool Equals ( EMGameProcess p_ProcessType ) { if (m_UIType == p_ProcessType) return true; return false; }