12. Unity project: Creating a State Machine