文档

Unity Engine

Unity Engine

GetNode(int)

Retrieves a node defined in the graph by its index.
阅读时间1 分钟最后更新于 1 个月前

Definition

public INode GetNode(int index)

Parameters

index

The zero-based index of the node to retrieve.

Returns

Type

Description

INodeThe INode at the specified index.

Remarks

Use this method to access a node based on its creation order in the graph. The index is zero-based and must be within range (see: Graph.NodeCount).
The list includes:
It excludes BlockNodes, which are only accessible through their parent ContextNode.