docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddListPort

    AddListPort<T>(IPortEditor, string, T)

    Adds a list port.

    Declaration
    public bool AddListPort<T>(IPortEditor parentPort, string childName, T portRef)
    Parameters
    Type Name Description
    IPortEditor parentPort

    The parent port.

    string childName

    Name of the child.

    T portRef

    The port reference.

    Returns
    Type Description
    bool

    true if succeeded, false otherwise.

    Type Parameters
    Name Description
    T

    AddListPort<T>(string, T)

    Adds a list port.

    Declaration
    public IPortEditor AddListPort<T>(string parentPort, T portRef)
    Parameters
    Type Name Description
    string parentPort

    The parent port.

    T portRef

    The port reference.

    Returns
    Type Description
    IPortEditor

    Added PortEditor.

    Type Parameters
    Name Description
    T

    AddListPort<T>(string)

    Adds a list port.

    Declaration
    public IPortEditor AddListPort<T>(string parentPort)
    Parameters
    Type Name Description
    string parentPort

    The parent port.

    Returns
    Type Description
    IPortEditor

    Added PortEditor.

    Type Parameters
    Name Description
    T
    In This Article
    Back to top
    Copyright © 2024 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)