Class DefaultBuildTasks
Basic static class containing preset build pipeline task collections.
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public static class DefaultBuildTasks
Methods
ContentFileCompatible()
Constructs and returns the IBuildTasks used to build Archive files that contain ContentFiles.
Declaration
public static IList<IBuildTask> ContentFileCompatible()
Returns
| Type | Description |
|---|---|
| IList<IBuildTask> | Returns the list of build tasks used to build Archive files that contain ContentFiles. |
ContentFileCompatible(bool)
Constructs and returns the IBuildTasks used to build Archive files that contain ContentFiles.
Declaration
public static IList<IBuildTask> ContentFileCompatible(bool useContentIdsForClusterName)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | useContentIdsForClusterName | If true, cluster names are computed from the ids of the objects contained in the cluster; otherwise they are based on the ids of the referencing assets. |
Returns
| Type | Description |
|---|---|
| IList<IBuildTask> | Returns the list of build tasks used to build Archive files that contain ContentFiles. |
Create(Preset)
Constructs and returns an IList containing the build tasks in the correct order for the preset build pipeline.
Declaration
public static IList<IBuildTask> Create(DefaultBuildTasks.Preset preset)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaultBuildTasks.Preset | preset | The preset build pipeline to construct and return. |
Returns
| Type | Description |
|---|---|
| IList<IBuildTask> | IList containing the build tasks in the correct order for the preset build pipeline. |