Interface IBuildTask
Base interface of all build tasks.
Namespace: UnityEditor.Build.Pipeline.Interfaces
Syntax
public interface IBuildTask
Properties
RequiredContextTypes
List of required data types in IBuildContext for this task to run correctly. Primarily used to early out due to not having all the required data.
Declaration
Type[] RequiredContextTypes { get; }
Property Value
Type | Description |
---|---|
System.Type[] |
Version
Version identifier for the build task. Primarily for caching.
Declaration
int Version { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Run(IBuildContext)
Generic run method for build tasks
Declaration
ReturnCode Run(IBuildContext context)
Parameters
Type | Name | Description |
---|---|---|
IBuildContext | context | IBuildContent that contains the required data types to run. |
Returns
Type | Description |
---|---|
ReturnCode | Return code with status information about success or failure causes. |