My Unity implementation of the FSM from "Programming Game AI by Example" (Matt Buckland, 2005, Wordware Publishing, Inc.) Chapter 2.