Example #1
0
 public EMUIEntity GetUIEntity(EMUIType p_UIType)
 {
     if (m_UIEntityDic.ContainsKey((int)p_UIType))
     {
         return(m_UIEntityDic[(int)p_UIType]);
     }
     return(null);
 }
Example #2
0
 public void SetActive( EMUIType p_UIType, bool p_IsActive )
 {
     EMUIEntity uiEntity = GetUIEntity (p_UIType);
     if(uiEntity != null)
     {
         uiEntity.SetActive(p_IsActive);
     }
 }
Example #3
0
 public void OnReset( EMUIType p_UIType )
 {
     EMUIEntity uiEntity = GetUIEntity (p_UIType);
     if(uiEntity != null)
     {
         uiEntity.OnReset();
     }
 }
Example #4
0
 public EMUIEntity GetUIEntity( EMUIType p_UIType )
 {
     if(m_UIEntityDic.ContainsKey((int)p_UIType))
     {
         return m_UIEntityDic[(int)p_UIType];
     }
     return null;
 }
Example #5
0
    public void OnReset(EMUIType p_UIType)
    {
        EMUIEntity uiEntity = GetUIEntity(p_UIType);

        if (uiEntity != null)
        {
            uiEntity.OnReset();
        }
    }
Example #6
0
    public void SetActive(EMUIType p_UIType, bool p_IsActive)
    {
        EMUIEntity uiEntity = GetUIEntity(p_UIType);

        if (uiEntity != null)
        {
            uiEntity.SetActive(p_IsActive);
        }
    }