Unity Turn Based State Machine, First, it’s wrong because in many cases there is no optimal code design.