Skip to content

v4.0

Latest
Compare
Choose a tag to compare
@thefuntastic thefuntastic released this 29 Mar 09:28
· 1 commit to master since this release
  • 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.