Simple state machine for Unity3d written in C#.