Watch this video in context on the official Unity learn pages –
http://www.unity3d.com/learn/tutorials/topics/navigation/patrol-action
In this session we will look at creating a finite state machine based AI system which can be configured in Unity’s inspector using ScriptableObjects for states and actions in those states.