| | |
| | | _hotUpdateAss = System.AppDomain.CurrentDomain.GetAssemblies().First(a => a.GetName().Name == "Main");
|
| | | Type type = _hotUpdateAss.GetType("InGameDownTestUtility");
|
| | | LocalResManager.Instance.isPCTestDownLoad = (bool)type.GetMethod("GetReadVerionEx").Invoke(null, null);
|
| | | LocalResManager.Instance.isOpenDownLoad = (bool)type.GetMethod("GetDownloadEnable").Invoke(null, null);
|
| | | #endif
|
| | | SDKInit();
|
| | | LocalResManager.Instance.Init();
|
| | |
| | | #if !UNITY_EDITOR
|
| | | LocalResManager.step = LocalResManager.LoadDllStep.RequestVersion;
|
| | | #else
|
| | | if (LocalResManager.Instance.isPCTestDownLoad)
|
| | | if (LocalResManager.Instance.isOpenDownLoad)
|
| | | {
|
| | | LocalResManager.step = LocalResManager.LoadDllStep.RequestVersion;
|
| | | }
|