Struct CustomContent
Custom Content struct mapping a source asset to a processor to generate custom data for that asset.
Implements
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Interfaces
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
[Serializable]
public struct CustomContent : IEquatable<CustomContent>
Fields
Processor
Processor function to run to convert the input asset to the custom content
Declaration
public Action<GUID, CalculateCustomDependencyData> Processor
Field Value
Type | Description |
---|---|
Action<GUID, CalculateCustomDependencyData> |
Properties
Asset
Input Asset for custom content
Declaration
public GUID Asset { readonly get; set; }
Property Value
Type | Description |
---|---|
GUID |
Methods
Equals(CustomContent)
CustomContent Equals operator to handle generic collections
Declaration
public bool Equals(CustomContent other)
Parameters
Type | Name | Description |
---|---|---|
CustomContent | other | Other CustomContent object to compare against. |
Returns
Type | Description |
---|---|
bool | True if the custom content is the same asset and has the same dependencies |