三国卡牌客户端基础资源仓库
yyl
1 天以前 0f5f8ee064c8c5ae775a275a726ad8b6b0c1d94f
Assets/Launch/Launch.cs
@@ -91,6 +91,7 @@
        _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();
@@ -102,7 +103,7 @@
#if !UNITY_EDITOR
            LocalResManager.step = LocalResManager.LoadDllStep.RequestVersion;
#else
            if (LocalResManager.Instance.isPCTestDownLoad)
            if (LocalResManager.Instance.isOpenDownLoad)
            {
                LocalResManager.step = LocalResManager.LoadDllStep.RequestVersion;
            }