Your Link:
https%3A%2F%2Fforum.unity.com%2Fthreads%2Fvery-simple-statemachine-pattern-c.38956%2F