State Machine Unity Package Introduction
Introduction to Nick Maltbie's State Machine Utility Package for Unity Projects.
See example usage in the Usage document.
Code Design
The code design of the state machine is explained in the FSM Design document.
Example
The example FSM is explained in further detail in the Example FSM document.