Core/GameEngine/Login/Launch.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
System/CrossServerOneVsOne/CrossServerOneVsOneModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
System/NewBieGuidance/NewBieCenter.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
System/WindowBase/WindowCenter.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Login/Launch.cs
@@ -284,7 +284,13 @@ } } #endif #if UNITY_EDITOR if (!AssetSource.allFromEditor) { FileExtersion.DirectoryCopy(ResourcesPath.CONFIG_FODLER, ResourcesPath.Instance.StreamingAssetPath + "config"); FileExtersion.DirectoryCopy(ResourcesPath.ResourcesOutPath + "BuiltIn", ResourcesPath.Instance.StreamingAssetPath + "builtin"); } #endif if (!firstLaunch) { done = true; System/CrossServerOneVsOne/CrossServerOneVsOneModel.cs
@@ -73,6 +73,10 @@ public void OnSwitchAccount() { IsMatching = false; if (clientMatchClock!=null ) { clientMatchClock.Stop(); } } public void OnPlayerLoginOk() @@ -467,12 +471,13 @@ GameNetSystem.Instance.PushPackage(onMatchPackage, ServerType.Main); var randomWaitSeconds = UnityEngine.Random.Range(3, 8); clientMatchClock = Clock.Create(DateTime.Now + new TimeSpan(randomWaitSeconds * TimeSpan.TicksPerSecond), () => { if (StageLoad.Instance.stageType == Stage.E_StageType.Dungeon) { ClientCrossServerOneVsOne.FakeMatchOk(); } }); { IsMatching = false; if (GameNetSystem.Instance.netState == GameNetSystem.NetState.Connected) { ClientCrossServerOneVsOne.FakeMatchOk(); } }); } else { System/NewBieGuidance/NewBieCenter.cs
@@ -198,7 +198,7 @@ { var guideRecord = currentGuide; currentGuide = 0; WindowCenter.Instance.Close<NewBieWin>(); WindowCenter.Instance.CloseImmediately("NewBieWin"); if (!completeGuidesBuf.Contains(guideRecord)) { @@ -387,7 +387,7 @@ GameNetSystem.Instance.SendInfo(send); currentGuide = 0; WindowCenter.Instance.Close<NewBieWin>(); WindowCenter.Instance.CloseImmediately("NewBieWin"); var allGuideKeys = GuideConfig.GetKeys(); for (int i = 0; i < allGuideKeys.Count; i++) @@ -405,7 +405,7 @@ GameNetSystem.Instance.SendInfo(send); currentGuide = 0; WindowCenter.Instance.Close<NewBieWin>(); WindowCenter.Instance.CloseImmediately("NewBieWin"); completeGuidesBuf.Clear(); } System/WindowBase/WindowCenter.cs
@@ -597,7 +597,7 @@ } checkTimer += Time.deltaTime; if (checkTimer > 2f) if (checkTimer > 0.5f) { checkTimer = 0f; if (!StageLoad.Instance.isLoading)