Ejemplo n.º 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();
            }
        }
Ejemplo n.º 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();
            }
		}