| Main/System/AssetVersion/InGameDownLoad.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Main/MainWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/AssetVersion/InGameDownLoad.cs
@@ -4,6 +4,7 @@ using System; using System.Text.RegularExpressions; using LitJson; using Cysharp.Threading.Tasks; public class InGameDownLoad : SingletonMonobehaviour<InGameDownLoad> @@ -95,8 +96,9 @@ } public void OnPlayerLoginOk() public async UniTask OnPlayerLoginOk() { await UniTask.Delay(1000); OnPlayerLevelChange(PlayerDataType.LV); } Main/System/Main/MainWin.cs
@@ -1,6 +1,7 @@ using System; using System.Collections; using System.Collections.Generic; using Cysharp.Threading.Tasks; using UnityEngine; using UnityEngine.UI; @@ -40,7 +41,7 @@ protected override void InitComponent() { base.InitComponent(); InGameDownLoad.Instance.OnPlayerLoginOk(); InGameDownLoad.Instance.OnPlayerLoginOk().Forget(); avatarCell.redpoint.redpointId = MainRedDot.PhantasmPavilionRepoint; avatarCell.SetListener(() => {