Documentation

Unity Engine


Unity Engine


GetOptionByName(string)

Retrieves a state option using its name.
Read time 1 minuteLast updated a month ago

Definition

IStateOption GetOptionByName(string name)

Parameters

name

The unique name of the option.

Returns

Type

Description

IStateOptionThe option with the specified name, or null if none is found.

Remarks

The option's name is unique within the state's options.