少年修仙传客户端代码仓库
client_linchunjie
2018-10-17 eba494f9a050178f2f71f7bf2173a00a6fa32130
System/Skill/SkillPanel.cs
@@ -62,6 +62,15 @@
        private void OnTalentFunc()
        {
            CloseChild();
            functionOrder = 2;
            if (windowState == WindowState.Opened)
            {
                WindowCenter.Instance.OpenWithoutAnimation<TalentWin>();
            }
            else
            {
                WindowCenter.Instance.Open<TalentWin>();
            }
        }
        private void OnAccordFunc()
@@ -83,7 +92,7 @@
        protected override void OnActived()
        {
            base.OnActived();
            functionButtonTalent.state = TitleBtnState.Locked;
            //functionButtonTalent.state = TitleBtnState.Locked;
            if (functionOrder == 0 && model.jumpToPass)
            {
@@ -126,6 +135,10 @@
            if (WindowCenter.Instance.IsOpen<SkillPassWin>()) {
                WindowCenter.Instance.CloseImmediately<SkillPassWin>();
            }
            if (WindowCenter.Instance.IsOpen<TalentWin>())
            {
                WindowCenter.Instance.CloseImmediately<TalentWin>();
            }
        }
    }
}