Releases: thefuntastic/Unity3d-Finite-State-Machine
Releases · thefuntastic/Unity3d-Finite-State-Machine
v4.0
- StateMachine now accepts a Driver class, a powerful convention for data-driven state events that provides explicit control of the State Machine lifecycle.
- Added
LastState
property - Added
NextState
property - Added
reenter
flag to allow transitions back into the same state - Fixed AOT incompatibility preventing the release of
v4.0
- Added new example showing Driver implementation
- Modernised unit tests for Unity Test Runner
- Components deriving from a superclass will now also search superclasses for state methods
- Upgraded project to Unity 2019.4.19
Upgrade Notes:
The layout of the library has changed. To avoid issues delete the existing MonsterLove
folder containing StateMachine.cs
and related files, before reimporting the Unity package. The API however remains backwards compatible with prior versions. This means your client code does not need to be upgraded.