Method Run
Run()
Runs the build task with the injected context.
Declaration
public ReturnCode Run()
Returns
| Type | Description |
|---|---|
| ReturnCode | The success or failure ReturnCode |
Implements
UnityEditor.Build.Pipeline.Interfaces.IBuildTask.Run()
Run(IAddressableAssetsBuildContext, IBundleWriteData)
Runs the build task with a give context and write data.
Declaration
[Obsolete("This method uses nonoptimized code. Use nonstatic version Run() instead.")]
public static ReturnCode Run(IAddressableAssetsBuildContext aaBuildContext, IBundleWriteData writeData)
Parameters
| Type | Name | Description |
|---|---|---|
| IAddressableAssetsBuildContext | aaBuildContext | The addressables build context. |
| IBundleWriteData | writeData | The write data used to generate the location lists. |
Returns
| Type | Description |
|---|---|
| ReturnCode | The success or failure ReturnCode |