docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CustomContent

    Custom Content struct mapping a source asset to a processor to generate custom data for that asset.

    Implements
    IEquatable<CustomContent>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)