Class ContentPipeline
Static class containing the main content building entry points into the Scriptable Build Pipeline.
Namespace: UnityEditor.Build.Pipeline
Syntax
public static class ContentPipeline
Fields
BuildCallbacks
Default callback implementation.
Declaration
public static BuildCallbacks BuildCallbacks
Field Value
Type | Description |
---|---|
BuildCallbacks |
kTempBuildPath
Default temporary path used for building content data.
Declaration
public const string kTempBuildPath = "Temp/ContentBuildData"
Field Value
Type | Description |
---|---|
String |
Methods
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 |
---|---|---|
IBundleBuildParameters | parameters | Set of parameters used for building asset bundles. |
IBundleBuildContent | content | Set of content and explicit asset bundle layout to build. |
IBundleBuildResults | result | Results from building the content and explicit asset bundle layout. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |
BuildAssetBundles(IBundleBuildParameters, IBundleBuildContent, out IBundleBuildResults, IList<IBuildTask>, 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 |
---|---|---|
IBundleBuildParameters | parameters | Set of parameters used for building asset bundles. |
IBundleBuildContent | content | Set of content and explicit asset bundle layout to build. |
IBundleBuildResults | result | Results from building the content and explicit asset bundle layout. |
IList<IBuildTask> | taskList | Custom task list for building asset bundles. |
IContextObject[] | contextObjects | Additional context objects to make available to the build. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |