This commit is contained in:
edy
2026-07-10 15:29:36 +08:00
parent 86402de353
commit 64bad7c077
+4 -2
View File
@@ -76,8 +76,7 @@ namespace BingoBrain
//CtrlDispatcher.Instance.Dispatch(CtrlMsg.NewConfigRead); //CtrlDispatcher.Instance.Dispatch(CtrlMsg.NewConfigRead);
}, configFileSavePath)); }, configFileSavePath));
} }
//检查设备本地是否有配置文件 else if (File.Exists(assetHotFixFilePath))
if (File.Exists(assetHotFixFilePath))
{ {
// Debug.Log($"[UNITY] Load config from datapath: {assetHotFixFilePath}"); // Debug.Log($"[UNITY] Load config from datapath: {assetHotFixFilePath}");
ParseConfig(File.ReadAllText(assetHotFixFilePath)); ParseConfig(File.ReadAllText(assetHotFixFilePath));
@@ -85,6 +84,9 @@ namespace BingoBrain
AppDispatcher.Instance.Dispatch(CsjInfoC.LoginInit); AppDispatcher.Instance.Dispatch(CsjInfoC.LoginInit);
GameHelper.PostFunnelLogin("loadFinish"); GameHelper.PostFunnelLogin("loadFinish");
} }
//检查设备本地是否有配置文件
} }
public static IEnumerator GetTextFromUrl(string url, string fileName, UnityAction<string> action = null, public static IEnumerator GetTextFromUrl(string url, string fileName, UnityAction<string> action = null,
string savePath = null) string savePath = null)