This commit is contained in:
2026-06-12 16:53:44 +08:00
parent 0c1fa609c0
commit 2deebe21cb
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -13,6 +13,6 @@ MonoBehaviour:
m_Name: NetworkConfig m_Name: NetworkConfig
m_EditorClassIdentifier: m_EditorClassIdentifier:
showNetworkLog: 1 showNetworkLog: 1
debugHost: sandbox-api.swhitegames.tech debugHost: api.jsoncompare.online
releaseHost: frozenarena.top releaseHost: frozenarena.top
connectionMode: 0 connectionMode: 0
@@ -58,6 +58,7 @@ namespace SGModule.ConfigLoader
if (names.Length > 0) if (names.Length > 0)
{ {
Debug.Log("0000000000000000000000000000008"); Debug.Log("0000000000000000000000000000008");
Debug.Log("0000000000000000000000000000009"+names[0]);
SetSavedConfigFileName(names[0]); SetSavedConfigFileName(names[0]);
isSuccess = true; isSuccess = true;
} }
@@ -151,8 +152,7 @@ namespace SGModule.ConfigLoader
Debug.Log(savedCfgName); Debug.Log(savedCfgName);
FirstLaunchCopyConfig(success => FirstLaunchCopyConfig(success =>
{ {
savedCfgName = SavedConfigFileName; path = Path.Combine(FileNetworkManager.Instance.GetConfigFOlderPath(), SavedConfigFileName);
path = Path.Combine(FileNetworkManager.Instance.GetConfigFOlderPath(), savedCfgName);
FileNetworkManager.Instance.ReadData(path, result => FileNetworkManager.Instance.ReadData(path, result =>
{ {
if (!string.IsNullOrEmpty(result)) if (!string.IsNullOrEmpty(result))
@@ -177,7 +177,7 @@ namespace SGModule.ConfigLoader
callback?.Invoke(ConfigLoaderState.Failed); callback?.Invoke(ConfigLoaderState.Failed);
return; return;
} }
Debug.Log("是否第一次登录"+IsFirstLaunch);
if (IsFirstLaunch) if (IsFirstLaunch)
{ {
FirstLaunchCopyConfig(success => FirstLaunchCopyConfig(success =>