Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 651 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 651 Bytes

AsyncStateMachine

Asynchronous state machines help you write smarter game logic.

  • Support await OnEnter
  • Support await OnUpdate
  • Support await OnExit
  • If you enter a state called A, then state A behaves as follows.
    OnEnter (await) -> OnUpdate (await) -> Wait for ChangeState
  • If you want to transition from state A to state B, you will wait until the Task of the Enter/Exit function in state A is finished.

You can see Example below Example Source

2024-04-02.11.37.52.mov