/// <summary> /// 显示UIBehaiviour /// </summary> /// <param name="uiBehaviourName"></param> public void ShowUI(string uiBehaviourName) { IUIBehaviour uiBehaviour = null; if (mAllUI.TryGetValue(uiBehaviourName, out uiBehaviour)) { uiBehaviour.Show(); } }
/// <summary> /// 显示UIBehaiviour /// </summary> /// <param name="uiBehaviourName"></param> public void ShowUI(string uiBehaviourName) { IUIBehaviour uiBehaviour = null; if (mAllUI.TryGetValue(uiBehaviourName, out uiBehaviour)) { uiBehaviour.Show(); mLayerLogic.OnUIPanelShow(uiBehaviour as UIPanel); ReSetLayerIndexDirty(); } }