private BuildAssetBundleInternal ( Object mainAsset, Object assets, string assetNames, string pathName, BuildAssetBundleOptions assetBundleOptions, BuildTarget targetPlatform, uint &crc ) : bool | ||
mainAsset | Object | |
assets | Object | |
assetNames | string | |
pathName | string | |
assetBundleOptions | BuildAssetBundleOptions | |
targetPlatform | BuildTarget | |
crc | uint | |
Результат | bool |
public static bool BuildAssetBundleExplicitAssetNames(UnityEngine.Object[] assets, string[] assetNames, string pathName, out uint crc, BuildAssetBundleOptions assetBundleOptions, BuildTarget targetPlatform) { crc = 0U; try { return(BuildPipeline.BuildAssetBundleInternal((UnityEngine.Object)null, assets, assetNames, pathName, assetBundleOptions, targetPlatform, out crc)); } catch (Exception ex) { BuildPipeline.LogBuildExceptionAndExit("BuildPipeline.BuildAssetBundleExplicitAssetNames", ex); return(false); } }
internal static bool BuildAssetBundleExplicitAssetNames(UnityEngine.Object[] assets, string[] assetNames, string pathName, out uint crc, BuildAssetBundleOptions assetBundleOptions, BuildTargetGroup targetPlatformGroup, BuildTarget targetPlatform) { crc = 0u; bool result; try { result = BuildPipeline.BuildAssetBundleInternal(null, assets, assetNames, pathName, assetBundleOptions, targetPlatformGroup, targetPlatform, out crc); } catch (Exception exception) { BuildPipeline.LogBuildExceptionAndExit("BuildPipeline.BuildAssetBundleExplicitAssetNames", exception); result = false; } return(result); }
public static bool BuildAssetBundle(UnityEngine.Object mainAsset, UnityEngine.Object[] assets, string pathName, out uint crc, BuildAssetBundleOptions assetBundleOptions, BuildTarget targetPlatform) { crc = 0u; bool result; try { result = BuildPipeline.BuildAssetBundleInternal(mainAsset, assets, null, pathName, assetBundleOptions, targetPlatform, out crc); } catch (Exception exception) { BuildPipeline.LogBuildExceptionAndExit("BuildPipeline.BuildAssetBundle", exception); result = false; } return(result); }