Method BuildAssetBundles
BuildAssetBundles(IBundleBuildParameters, IBundleBuildContent, out IBundleBuildResults)
Default implementation of generating Asset Bundles using the Scriptable Build Pipeline.
Declaration
public static ReturnCode BuildAssetBundles(IBundleBuildParameters parameters, IBundleBuildContent content, out IBundleBuildResults result)
Parameters
Type | Name | Description |
---|---|---|
IBundle |
parameters | Set of parameters used for building asset bundles. |
IBundle |
content | Set of content and explicit asset bundle layout to build. |
IBundle |
result | Results from building the content and explicit asset bundle layout. |
Returns
Type | Description |
---|---|
Return |
Return code with status information about success or failure causes. |
Remarks
The target platform must be installed. Otherwise AssetBundles will be built based on the editor version of the Assemblies and may have incorrect content.
BuildAssetBundles(IBundleBuildParameters, IBundleBuildContent, out IBundleBuildResults, IList<IBuildTask>, params IContextObject[])
Default implementation of generating Asset Bundles using the Scriptable Build Pipeline.
Declaration
public static ReturnCode BuildAssetBundles(IBundleBuildParameters parameters, IBundleBuildContent content, out IBundleBuildResults result, IList<IBuildTask> taskList, params IContextObject[] contextObjects)
Parameters
Type | Name | Description |
---|---|---|
IBundle |
parameters | Set of parameters used for building asset bundles. |
IBundle |
content | Set of content and explicit asset bundle layout to build. |
IBundle |
result | Results from building the content and explicit asset bundle layout. |
IList<IBuild |
taskList | Custom task list for building asset bundles. |
IContext |
contextObjects | Additional context objects to make available to the build. |
Returns
Type | Description |
---|---|
Return |
Return code with status information about success or failure causes. |
Remarks
The target platform must be installed. Otherwise AssetBundles will be built based on the editor version of the Assemblies and may have incorrect content.