GetBlock(int)
Retrieves the BlockNode at the specified index in the context node's block list.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public BlockNode GetBlock(int index)
Parameters
The zero-based index of the block to retrieve.
Returns
Remarks
The index is zero-based and corresponds to the block’s position within ContextNode.BlockNodes.