SpeedModifierExtensions.Limit

Extension Method in SpeedModifierExtensions

Declaration

public static float Limit(this SpeedModifier[] modifiers, float value, MovementFlags flags)

Description

Applies the limiter speed modifiers to a value.

Parameters

modifiersThe speed modifiers to apply.
valueThe value to apply the speed modifiers to.
flagsThe current movement flags.

Returns

float