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); }
private static bool IsManifest(string path) { var platformName = AssetPathConfig.GetPlatformName(); return(!string.IsNullOrEmpty(platformName) && !string.IsNullOrEmpty(path) && platformName.ToLower() == path.ToLower()); }