Example #1
0
 private static void LoadAssetBundleManifest(Action callBack)
 {
     LoadResources.LoadCore(AssetPathConfig.GetPlatformName(), item =>
     {
         AssetBundleManifestObject = item.MainAsset as AssetBundleManifest;
         //LoggerHelper.Error("LoadAssetBundleManifest init: " + AssetBundleManifestObject);
         if (callBack != null)
         {
             callBack();
         }
     }, EResType.None, false, true, false);
 }
Example #2
0
        private static bool IsManifest(string path)
        {
            var platformName = AssetPathConfig.GetPlatformName();

            return(!string.IsNullOrEmpty(platformName) && !string.IsNullOrEmpty(path) && platformName.ToLower() == path.ToLower());
        }