MovementState.Set

Method in MovementState

Declaration

public void Set(MovementFlags flags, bool on)

Description

Turns on or off the given movement flag(s).

Parameters

flagsThe movement flag(s) to turn on or off.
onWhether to turn the flag(s) on or off.