Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public BlockNode GetBlock(int index)

Parameters

index

The zero-based index of the block to retrieve.

Returns

Type

Description

BlockNodeThe BlockNode at the specified index.

Remarks

The index is zero-based and corresponds to the block’s position within ContextNode.BlockNodes.