// [MenuItem("Assets/GFrame/Asset/构建AB_IOS")] // public static void BuildAllAssetBundlesIOS() // { // AssetBundleBuilder.BuildAB(outPath + "/IOS", BuildTarget.iOS); // } // [MenuItem("Assets/GFrame/Asset/构建AB_Android")] // public static void BuildAllAssetBundlesAndroid() // { // AssetBundleBuilder.BuildAB(outPath + "/Android", BuildTarget.Android); // } #region 构建 AssetDataTable //[MenuItem("Assets/GFrame/Asset/生成Asset清单")] private static void BuildDataTable() { Log.i("#Start BuildDataTable"); AssetDataTable table = new AssetDataTable(); ProcessAssetBundleRes(table, null); table.Save(); }
public static void BuildDataTable() { Log.i("Start BuildAssetDataTable!"); AssetDataTable table = new AssetDataTable(); ProcessAssetBundleRes(table, null); table.Save(ProjectPathConfig.absExportRootFolder); }
public static void BuildDataTable() { AssetDataTable table = new AssetDataTable(); ProcessAssetBundleRes(table); table.Save(ProjectPathConfig.absExportRootFolder); AssetDatabase.Refresh(); }
public static void BuildTableConfigTable() { Log.i("Start BuildTableConfigTable!"); AssetDataTable table = new AssetDataTable(); string folder = Application.dataPath + "/" + ProjectPathConfig.DEFAULT_TABLE_EXPORT_PATH; ProcessTableConfig(table, folder); table.Save(FilePath.streamingAssetsPath); }
public static void BuildDataTable() { Log.i("Start BuildAssetDataTable!"); AssetDataTable table = AssetDataTable.Create(); ProcessAssetBundleRes(table); string filePath = IOUtils.CreateDirIfNotExists(FilePath.streamingAssetsPath + FrameworkConfigData.RELATIVE_AB_ROOT_FOLDER) + FrameworkConfigData.EXPORT_ASSETBUNDLE_CONFIG_FILENAME; table.Save(filePath); AssetDatabase.Refresh(); }