docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInputBasePortBuilder<T>

    Base interface for input port builders in a port definition context.

    Inherited Members
    IPortBuilder<T>.Build()
    IPortBuilder<T>.WithDisplayName(string)
    IPortBuilder<T>.WithConnectorUI(PortConnectorUI)
    Namespace: Unity.GraphToolkit.Editor
    Assembly: Unity.GraphToolkit.Editor.dll
    Syntax
    public interface IInputBasePortBuilder<T> : IPortBuilder<T>
    Type Parameters
    Name Description
    T

    The specific builder type implementing this interface.

    Remarks

    Use this interface when defining input ports in a custom node. It extends the generic IPortBuilder<T> interface with input-specific configuration options. The generic parameter T allows method chaining using the builder pattern.

    Methods

    Delayed()

    Configures the input port to use the DelayedAttribute.

    Declaration
    T Delayed()
    Returns
    Type Description
    T

    The current builder instance for method chaining.

    Remarks

    Apply this setting when the port’s value should only update after the user finishes editing input in the UI. This is useful for optimizing performance or avoiding intermediate updates during data entry.

    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)