文档

Unity Engine

Unity Engine

VariableKind

Gets or sets the kind of the variable, such as Local, Input, or Output.
阅读时间1 分钟最后更新于 1 个月前

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.