少年修仙传客户端代码仓库
client_linchunjie
2018-11-21 6ee6306d483aee9f05079f44b37e6b9e9215341c
2414 【BUG】【1.3】退出按钮位置错误
1个文件已修改
9 ■■■■ 已修改文件
System/Dungeon/DungeonFightWin.cs 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/DungeonFightWin.cs
@@ -40,6 +40,8 @@
        int collectItem = 0;
        Tweener m_Tweener;
        int ruinsTranscriptMapId = 0;
        DungeonModel model { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } }
        PlayerMainDate main { get { return ModelCenter.Instance.GetModel<PlayerMainDate>(); } }
@@ -127,6 +129,11 @@
        protected override void OnPreClose()
        {
            if (m_Tweener != null)
            {
                m_Tweener.Kill(false);
                m_Tweener = null;
            }
            m_BossInfosContainer.Dispose();
            DropItemManager.pickUpCallBack -= OnPickItem;
            MainInterfaceWin.Event_Duplicates -= OnChangeFuncBtnPosEvent;
@@ -248,7 +255,7 @@
        private void OnChangeFuncBtnPosEvent(bool open, float speed)
        {
            m_ContainerFuncBtn.DOLocalMoveY(open ? m_ContainerFuncUp.localPosition.y : m_ContainerFuncBottom.localPosition.y, speed);
            m_Tweener = m_ContainerFuncBtn.DOLocalMoveY(open ? m_ContainerFuncUp.localPosition.y : m_ContainerFuncBottom.localPosition.y, speed);
        }
        private void ProcessDungeonEndCoolDown()