少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-28 3b50d06d004ecc31df7ecaa57927fa35c1ea608e
System/Alchemy/AlchemyBaseWin.cs
@@ -28,17 +28,17 @@
        protected override void AddListeners()
        {
            m_AlchemyNormal.AddListener(ShowAlchemyNormal);
            m_AlchemyFairy.AddListener(ShowAlchemyFairy);
            m_AlchemyDrug.AddListener(ShowAlchemyDrug);
            m_Left.AddListener(()=>
            m_AlchemyNormal.AddListener(ShowAlchemyNormal);
            m_AlchemyFairy.AddListener(ShowAlchemyFairy);
            m_AlchemyDrug.AddListener(ShowAlchemyDrug);
            m_Left.AddListener(()=>
            {
                m_FuncGroup.TriggerLast();
            });
            m_Right.AddListener(()=>
            });
            m_Right.AddListener(()=>
            {
                m_FuncGroup.TriggerNext();
            });
            });
            m_Close.AddListener(CloseClick);
        }
@@ -58,10 +58,10 @@
        protected override void OnPreClose()
        {
            CloseSubWindows();
            if (!WindowJumpMgr.Instance.IsJumpState)
            {
                WindowCenter.Instance.Open<MainInterfaceWin>();
            CloseSubWindows();
            if (!WindowJumpMgr.Instance.IsJumpState)
            {
                WindowCenter.Instance.Open<MainInterfaceWin>();
            }
        }
@@ -93,10 +93,10 @@
        private void CloseSubWindows()
        {
            var children = WindowConfig.Get().FindChildWindows("AlchemyBaseWin");
            foreach (var window in children)
            {
                WindowCenter.Instance.Close(window);
            var children = WindowConfig.GetChildWindows("AlchemyBaseWin");
            foreach (var window in children)
            {
                WindowCenter.Instance.Close(window);
            }
        }