MovementProcess


Declaration

public abstract class MovementProcess

Description

A type that is registered to a movement controller and is updated every frame by the controller.

Properties

controllerThe movement controller handling the process.
registeredWhether the process has been registered to a controller.
orderDetermines the order in which processes are handled. The process with the lowest order value is handled first.
idThe unique identifier of the movement process.

Methods

OnRegisterA callback invoked when the process is registered to a controller.
OnUnregisterA callback invoked when the process is unregistered from a controller.
OnUpdateHandles the movement process logic every frame by the controller.
OnPreUpdateChecks for any state changes before the process is handled.
OnPostUpdateChecks for any state changes after the process is handled.
OnMovementProfileChangedA callback invoked when the movement profile changes.