public EMUIEntity GetUIEntity(EMUIType p_UIType) { if (m_UIEntityDic.ContainsKey((int)p_UIType)) { return(m_UIEntityDic[(int)p_UIType]); } return(null); }
public void SetActive( EMUIType p_UIType, bool p_IsActive ) { EMUIEntity uiEntity = GetUIEntity (p_UIType); if(uiEntity != null) { uiEntity.SetActive(p_IsActive); } }
public void OnReset( EMUIType p_UIType ) { EMUIEntity uiEntity = GetUIEntity (p_UIType); if(uiEntity != null) { uiEntity.OnReset(); } }
public EMUIEntity GetUIEntity( EMUIType p_UIType ) { if(m_UIEntityDic.ContainsKey((int)p_UIType)) { return m_UIEntityDic[(int)p_UIType]; } return null; }
public void OnReset(EMUIType p_UIType) { EMUIEntity uiEntity = GetUIEntity(p_UIType); if (uiEntity != null) { uiEntity.OnReset(); } }
public void SetActive(EMUIType p_UIType, bool p_IsActive) { EMUIEntity uiEntity = GetUIEntity(p_UIType); if (uiEntity != null) { uiEntity.SetActive(p_IsActive); } }