DefineState()
Defines the structure of the state by building its options.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public void DefineState()
Remarks
This method calls State.OnDefineOptions to allow custom definition of the state. It does nothing when the state is not part of a State.StateMachine.
Examples
public class MyState : State{ public override void OnEnable() { DefineState(); }}