docs.unity3d.com
    Show / Hide Table of Contents

    Custom Port Menu

    Description

    The Custom Port Menu is displayed in the Node Settings tab of the Graph Inspector by clicking on the Custom Function Node and Sub Graph output node. This menu allows you to add, remove, rename, reorder, and define the types of your custom input and output ports.

    How to Use

    Select the Custom Function Node or the Sub Graph output node to view the Custom Port Menu in the Inspector. To close the menu, click anywhere in the graph or on another graph-element.

    01

    Adding and Removing Ports

    To add ports, click the + icon at the bottom right corner of the port list.

    02

    To remove ports, select a port using the hamburger icon on the left, and click the - icon at the bottom right corner of the port list.

    03

    Renaming Ports

    To rename a port, double-click its text field and enter the new name. Currently, only the following characters are valid for port names: A-Z, a-z, 0-9, _, ( ), and whitespace. If the name contains an invalid character, an error badge appears.

    04

    Reordering Ports

    To reorder ports, click and hold the hamburger icon on the left, and drag the port to your desired place in the list.

    Changing Port Types

    To change a port type, use the Type drop-down menu on the right. See the Data Types page for a list of currently valid port types.

    05

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023