ドキュメント

Unity Engine

Unity Engine

GetOption(int)

Retrieves a state option using its zero-based index.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

IStateOption GetOption(int index)

Parameters

index

Index of the option, based on the order in which the options were declared.

Returns

Type

Description

IStateOptionThe option at the specified index.

Remarks

The index is zero-based.
Throws ArgumentOutOfRangeException when the index is out of bounds.