Unity3d-Finite-State-Machine icon indicating copy to clipboard operation
Unity3d-Finite-State-Machine copied to clipboard

How to know the old state when _Enter()

Open williamlv opened this issue 3 years ago • 1 comments

How to know the old state when _Enter(), like Play_Enter(State oldState)

williamlv avatar Feb 17 '22 10:02 williamlv

The State Machine keeps track of the progression of states:

StateMachine.LastState StateMachine.State StateMachine.NextState

BurritoBushido avatar Jul 08 '22 19:07 BurritoBushido