public override void OnUpdate()
        {
            if (!CheckInterrupt())
            {
                if (controller.StateManager.CurrentStateFrame > Stats.floatDodgeHoldVelo)
                {
                    PhysicsManager.ApplyMovementFriction(Stats.floatDodgeFriction);
                    PhysicsManager.ApplyGravityFriction(Stats.floatDodgeFriction);
                }

                controller.StateManager.IncrementFrame();
            }
        }
 public override void OnUpdate()
 {
     if (!CheckInterrupt())
     {
         CharacterStats cs = ((CharacterStats)controller.EntityStats);
         if (controller.StateManager.CurrentStateFrame > cs.airDashHoldVelo)
         {
             PhysicsManager.ApplyMovementFriction(cs.airDashFriction);
         }
         PhysicsManager.ApplyGravityFriction(cs.airDashGravityFriction);
         controller.StateManager.IncrementFrame();
     }
 }