State.IOptionDefinitionContext
Interface that provides methods to declare state options inside a state.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Interface
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public interface State.IOptionDefinitionContext
Remarks
Use this interface to add options on states. Unlike the node options of a Node, the options of a state are never drawn on the state in the state machine canvas: they only appear in the graph inspector when the state is selected.
Methods
Method | Description |
|---|---|
| AddOption | Adds a new state option. |