文档

Unity Engine

Unity Engine

GetBlock(int)

Retrieves the BlockNode at the specified index in the context node's block list.
阅读时间1 分钟最后更新于 1 个月前

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.