State.IOptionDefinitionContext
Interface that provides methods to declare state options inside a state.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前
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. |