DefineState()
Defines the structure of the state by building its options.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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(); }}