ドキュメント

Unity Engine

Unity Engine

DefineState()

Defines the structure of the state by building its options.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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(); }}