Exemplo n.º 1
0
        public override void OnFocus()
        {
            string focusName = CommonConditionParse.FocusViewName; //为了不干扰焦点

            CommonConditionParse.SetFocusViewName(controller.gameObject.name.Replace("(Clone)", ""));
            CommonConditionParse.FocusViewName = focusName;
            EB.Debug.Log("FocusViewName <color=#800000ff>{0}</color>", CommonConditionParse.FocusViewName);
        }
Exemplo n.º 2
0
        public virtual void OnFocusWithoutPauser()
        {
	        UIPanel[] panels = controller.transform.GetComponentsInChildren<UIPanel>();
	        if (panels != null)
	        {
		        for (int i = 0; i < panels.Length; i++)
		        {
			        panels[i].SetDirty();
		        }
	        }
	        //作用于当前新手引导界面识别,暂不能删除
	        CommonConditionParse.SetFocusViewName(controller.gameObject.name.Replace("(Clone)", ""));
		}
Exemplo n.º 3
0
        public override void OnFocus() {
	        PausePanelUpdate(UIPanel.PauseType.Others, false);
            Current = this;
			UIPanel[] panels = controller.transform.GetComponentsInChildren<UIPanel>();
            if (panels != null)
            {
                for (int i = 0; i < panels.Length; i++)
                {
                    panels[i].SetDirty();
                }
            }
            //作用于当前新手引导界面识别,暂不能删除
            CommonConditionParse.SetFocusViewName(controller.gameObject.name.Replace("(Clone)",""));
        }