기술 자료

Unity Engine

Unity Engine

DefineState()

Defines the structure of the state by building its options.
읽는 시간 1분최근 업데이트: 2달 전

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