public override void BuildState(StateMachine stateMachine) { base.BuildState(stateMachine); enemy = stateMachine as Enemy2; }