protected override void Move2D(ACharacterSystem2D cs, MotionInformation mi) { }
////////////////////////////// ////////// Callback ////////// /// <summary> /// Callback to execute the movemement of the motion state in 2D space /// </summary> protected abstract void Move2D(ACharacterSystem2D cs, MotionInformation mi);
////////////////////////////// ////////// Callback ////////// /// <summary> /// Callback to verify if the condition is complete for the 2D space /// </summary> protected abstract bool IsComplete2D(ACharacterSystem2D cs, MotionInformation mi);
protected override bool IsComplete2D(ACharacterSystem2D cs, MotionInformation mi) { return(mi.Input.MovementDirection.x != 0f || mi.Input.MovementDirection.y != 0f || mi.Input.MovementDirection.z != 0f); }