提交
This commit is contained in:
@@ -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)
|
||||||
@@ -138,23 +140,23 @@ namespace BingoBrain
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
SdkManager.Instance.OpenWv();
|
SdkManager.Instance.OpenWv();
|
||||||
// int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
|
// int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
|
||||||
// int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
|
// int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
|
||||||
// float top_offset = 150;//fgui中的顶部信息的高度
|
// float top_offset = 150;//fgui中的顶部信息的高度
|
||||||
// float buttom_offset = 0;
|
// float buttom_offset = 0;
|
||||||
// if (Screen.safeArea.y != 0)
|
// if (Screen.safeArea.y != 0)
|
||||||
// {//刘海屏
|
// {//刘海屏
|
||||||
// top_offset += Screen.safeArea.y;
|
// top_offset += Screen.safeArea.y;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// SdkManager.Instance.setFlyBtnTag(flyswitch == 1);
|
// SdkManager.Instance.setFlyBtnTag(flyswitch == 1);
|
||||||
// SdkManager.Instance.setRewardBtnTag(propswitch == 1);
|
// SdkManager.Instance.setRewardBtnTag(propswitch == 1);
|
||||||
// SdkManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
|
// SdkManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
|
||||||
// SdkManager.Instance.SetPadding(0, top_offset / GRoot.inst.height, 0, buttom_offset / GRoot.inst.height);
|
// SdkManager.Instance.SetPadding(0, top_offset / GRoot.inst.height, 0, buttom_offset / GRoot.inst.height);
|
||||||
SdkManager.Instance.SetDarkThough(true);
|
SdkManager.Instance.SetDarkThough(true);
|
||||||
SdkManager.Instance.RefreshUrl();
|
SdkManager.Instance.RefreshUrl();
|
||||||
SdkManager.Instance.ShowH5View(false);
|
SdkManager.Instance.ShowH5View(false);
|
||||||
}
|
}
|
||||||
public int GetRegisteredCalendarDaysByUTC(long regTimeTimestamp)
|
public int GetRegisteredCalendarDaysByUTC(long regTimeTimestamp)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user