예제 #1
0
        static public JABLoadManifestOperation LoadManifest()
        {
            if (m_AssetBundleManifest != null)
            {
                return(null);
            }

            if (ABLoaderMgr == null)
            {
                m_ABLoaderMgr = ABLoaderMgr;
            }

            string manifestAssetBundleName = JABUtil.GetPlatformName();

            LoadAssetBundle(manifestAssetBundleName, true);
            JABLoadManifestOperation operation = new JABLoadManifestOperation(manifestAssetBundleName, "AssetBundleManifest", typeof(AssetBundleManifest));

            m_InProgressOperations.Add(operation);

            return(operation);
        }
예제 #2
0
 public static void SetSourceAssetBundleURL(string absolutePath)
 {
     BaseDownloadingURL = absolutePath + JABUtil.GetPlatformName() + "/";
 }