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

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

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