Main/System/ClientVersion/VersionUtility.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/System/Login/LoginWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Main/System/UIBase/UIBase.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/ClientVersion/VersionUtility.cs
@@ -208,7 +208,7 @@ if (task.IsDone) { step = Step.Completed; // VersionUpdateWin.Instance.CloseWindow(); UIManager.Instance.CloseWindow<VersionUpdateWin>(); // // WindowCenter.Instance.Close<VersionUpdateWin>(); SDKUtils.Instance.InstallAPK(GetApkLocalUrl()); } Main/System/Login/LoginWin.cs
@@ -20,7 +20,7 @@ [SerializeField] Image m_Logo; [SerializeField] UIAlphaTween m_AlphaTween; // [SerializeField] UIAlphaTween m_AlphaTween; [SerializeField] RectTransform m_WaitServerList; [SerializeField] RectTransform m_ContainerEnterGame; [SerializeField] RectTransform m_ContainerAccount; @@ -91,15 +91,24 @@ ServerListCenter.Instance.RequestPlayerServerList(); LoginManager.Instance.isLogined = false; ServerListCenter.Instance.FiltrateDefaultServerAndServerGroup(); m_AlphaTween.SetStartState(); // m_AlphaTween.SetStartState(); Refresh(); m_AlphaTween.Play(() => { // m_AlphaTween.Play(() => { // firstOpenEnd = true; // InGameDownLoad.Instance.downLoadGo = false; // DownloadMgr.MaxDownLoadTask = InGameDownLoad.Instance.GetMaxTask(); // }); } protected override void OnOpenAnimationComplete() { base.OnOpenAnimationComplete(); firstOpenEnd = true; InGameDownLoad.Instance.downLoadGo = false; DownloadMgr.MaxDownLoadTask = InGameDownLoad.Instance.GetMaxTask(); }); } protected override void OnPreClose() Main/System/UIBase/UIBase.cs
@@ -623,12 +623,15 @@ { isAnimating = false; OnOpenAnimationComplete(); // 启用交互 if (canvasGroup != null) { canvasGroup.interactable = true; canvasGroup.blocksRaycasts = true; } }); currentAnimation.Play(); @@ -648,6 +651,11 @@ } } protected virtual void OnOpenAnimationComplete() { } // 播放关闭动画 - 修改后的方法 protected virtual void PlayCloseAnimation() {