Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VariableKind

Gets or sets the kind of the variable, such as Local, Input, or Output.
Read time 1 minuteLast updated 6 days ago

Definition

VariableKind VariableKind { get; set; }

Remarks

This property defines the scope of the variable. Use VariableKind.Local for variables used only within the current graph. Use VariableKind.Input or VariableKind.Output to expose variables to or from a subgraph. This value does not determine the PortDirection of the port on the variable node.