Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetNode(int)

Retrieves a node defined in the graph by its index.
Read time 1 minuteLast updated 6 days ago

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.