文档

Unity Engine

Unity Engine

TokenNode

The TokenNode class includes methods for creating and managing a Node that resembles a capsule. The TokenNode class includes a title, an icon, one input Port, and one output Port.
阅读时间11 分钟最后更新于 1 个月前

Definition

public class TokenNode : Node, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable, ICollectibleElement

Constructors

Constructor

Description

TokenNode(UnityEditor.Experimental.GraphView.Port,UnityEditor.Experimental.GraphView.Port)Constructs a TokenNode with both input and output Ports.

Properties

Property

Description

highlightedReturns whether the TokenNode is highlighted.
iconThe icon of the TokenNode.
inputThe input Port of the TokenNode.
outputThe output Port of the TokenNode.

Inheritance

Inherited Members