When you build programs in the graph, you mostly use Nodes. There are a few other items available, described here.
Groups are helpful for organizing and describing your graph. They don't change the way your graphs function or compile.
To create Groups, you can:
- Right-Click in the graph and choose 'Create Group', then drag and drop elements into the group.
- Select elements with a box-drag or by holding Ctrl while you click on them, then right-click on the graph and choose 'Create Group', or press 'Ctrl+G' for quick grouping.
To remove items from Groups, you can:
- Select the items, hold shift, then drag the items out of the group.
- Select the items, right-click and choose 'Remove From Group'.
To jump to a Group in the graph, click it in the Graph Sidebar.
Currently, nested groups are not supported. The current grouping behavior is to delete the existing group if you try to select and enclose it with a new group.
Comments are simple blocks of text that you can place near items that need more information.
You can create comments by right-clicking on the Graph and choosing Create Comment. They can be added to groups, as well. You can use comments and groups together for ultimate readability!
The noodles of a graph are what connect everything together, and how Udon gets its name! They connect nodes together through their ports. They are colored according to the ports to which they connect, so if you connect two ports with different types, you'll see the color change halfway through. In Unity documentation and elsewhere, they are called 'edges' - so if you see a reference to edges, they're talking about our tasty noodles.
Updated 4 months ago