提交
This commit is contained in:
@@ -58,6 +58,7 @@ namespace SGModule.ConfigLoader
|
||||
if (names.Length > 0)
|
||||
{
|
||||
Debug.Log("0000000000000000000000000000008");
|
||||
Debug.Log("0000000000000000000000000000009"+names[0]);
|
||||
SetSavedConfigFileName(names[0]);
|
||||
isSuccess = true;
|
||||
}
|
||||
@@ -151,8 +152,7 @@ namespace SGModule.ConfigLoader
|
||||
Debug.Log(savedCfgName);
|
||||
FirstLaunchCopyConfig(success =>
|
||||
{
|
||||
savedCfgName = SavedConfigFileName;
|
||||
path = Path.Combine(FileNetworkManager.Instance.GetConfigFOlderPath(), savedCfgName);
|
||||
path = Path.Combine(FileNetworkManager.Instance.GetConfigFOlderPath(), SavedConfigFileName);
|
||||
FileNetworkManager.Instance.ReadData(path, result =>
|
||||
{
|
||||
if (!string.IsNullOrEmpty(result))
|
||||
@@ -177,7 +177,7 @@ namespace SGModule.ConfigLoader
|
||||
callback?.Invoke(ConfigLoaderState.Failed);
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log("是否第一次登录"+IsFirstLaunch);
|
||||
if (IsFirstLaunch)
|
||||
{
|
||||
FirstLaunchCopyConfig(success =>
|
||||
|
||||
Reference in New Issue
Block a user