Unity - Scripting API: Unity.GraphToolkit.Editor.Node.GetOutputPortByName
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Declaration
public IPort GetOutputPortByName(string name);
Parameters
| Parameter | Description |
|---|---|
| name | The unique name of the output port within this node. |
Returns
IPort The output port with the specified name, or null if no match is found.
Description
Retrieves an output port using its name.
The output port's name is unique within the node's output ports.