平台相关的应该全部扔到这里
Ejemplo n.º 1
0
        static public void InitializeSync()
        {
            var go = new GameObject("QABMgr", typeof(QABMgr));

            DontDestroyOnLoad(go);

                        #if UNITY_EDITOR
            if (DevABModeInEditor)
            {
                return;
            }
                        #endif
            AssetBundle ab = LoadABSync(QPlatform.GetPlatformName(), true);
            Debug.Log("***************>>>>" + ab);
            ABManifestObject = ab.LoadAsset <AssetBundleManifest> ("AssetBundleManifest");
            Debug.Log("***************>>>>vvvv:" + m_AssetBundleManifest);
        }
Ejemplo n.º 2
0
 static public ABLoadManifestOperation Initialize()
 {
     return(Initialize(QPlatform.GetPlatformName()));
 }