SpeedModifier Constructor

Constructor in SpeedModifier

Declaration

public SpeedModifier(MovementFlags condition, SpeedModifier.Type type, float value)

Description

Constructs a new speed modifier with the given parameters.

Parameters

conditionThe movement state condition that must be met for the speed modifier to be applied.
typeHow the modifier value is factored into the character's movement speed.
valueThe value factored into the character's movement speed when the movement state condition is met.