ドキュメント

Unity Engine

Unity Engine

IVariableNode

Interface for a variable node, which is a specialized node that references an IVariable defined in the graph.
読み終わるまでの所要時間 2 分最終更新 1ヶ月前

Definition

public interface IVariableNode : INode

Remarks

Variable nodes are instances of a declared IVariable placed on the graph canvas. They are distinct from IVariables, which are declarations displayed as capsules in the Blackboard. You can drag and drop a IVariable from the Blackboard onto the graph canvas to create a variable node. A variable node can either retrieve the variable’s value (VariableNodeMode.Get) or set it (VariableNodeMode.Set). Use the IVariableNode.Mode property to determine which role a node plays.

Properties

Property

Description

ModeThe mode of this variable node, which determines its available ports.
VariableRetrieves the IVariable associated with the node.

Inheritance