Class ClusterBuildLayout
Build task for creating content archives based asset co-location.
Implements
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Tasks
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public class ClusterBuildLayout : IBuildTask
Constructors
ClusterBuildLayout()
Creates the build task with cluster names based on the ids of the referencing assets.
Declaration
public ClusterBuildLayout()
ClusterBuildLayout(bool)
Creates the build task.
Declaration
public ClusterBuildLayout(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. |
Properties
Version
Version identifier for the build task. Primarily for caching.
Declaration
public int Version { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Run()
Run task method
Declaration
public ReturnCode Run()
Returns
| Type | Description |
|---|---|
| ReturnCode | Return code with status information about success or failure causes. |