void Exit_EnterState() { exitSaveColor = exitStyle.normal.textColor; exitStyle.normal.textColor = Color.red; this.lastState = (Enum)stateMachine.lastState; this.lastMachine = stateMachine.lastStateMachineBehaviour; }