Beispiel #1
0
        /// <summary>
        /// 显示UIBehaiviour
        /// </summary>
        /// <param name="uiBehaviourName"></param>
        public void ShowUI(string uiBehaviourName)
        {
            IUIBehaviour uiBehaviour = null;

            if (mAllUI.TryGetValue(uiBehaviourName, out uiBehaviour))
            {
                uiBehaviour.Show();
            }
        }
Beispiel #2
0
		/// <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();
            }
		}