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