GetOptionByName(string)
Retrieves a state option using its name.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
IStateOption GetOptionByName(string name)
Parameters
The unique name of the option.
Returns
Type | Description |
|---|---|
| IStateOption | The option with the specified name, or null if none is found. |
Remarks
The option's name is unique within the state's options.