SpeedModifier
Struct in Zigurous.CharacterController.Settings
Declaration
[Serializable]
public struct SpeedModifier
Description
A modifier that alters a character's movement speed.
Properties
condition | The movement state condition that must be met for the speed modifier to be applied. |
type | How the modifier value is factored into the character's movement speed. |
value | The value factored into the character's movement speed when the movement state condition is met. |
Constructors
SpeedModifier | Constructs a new speed modifier with the given parameters. |