It is pretty simple and small realisation of statemachine for artifical intelligence in Unity based on MonoBehaviour Components to be able to set values for States in Inspector window.
The Idle.cs is small example of working with Owner and States from inside of State.
260