public override void StateUpdate() { if (Dragon.CheckGround()) { Dragon.Rigidbody2DThis.velocity = Vector2.zero; Dragon.SetState(eDragonState.Idle); } }