Table of Contents

Class IdleState

Example IState — represents an entity standing still. Replace the placeholder comments with your own idle behaviour.

public class IdleState : IState
Inheritance
IdleState
Implements
Inherited Members

Methods

Enter()

Called once when the state machine transitions into this state.

public void Enter()

Execute()

Called every frame (or update tick) while this state is active.

public void Execute()

Exit()

Called once when the state machine transitions out of this state.

public void Exit()