MovementProcess
Class in Zigurous.CharacterController
Declaration
public abstract class MovementProcess
Description
A type that is registered to a movement controller and is updated every frame by the controller.
Properties
controller | The movement controller handling the process. |
registered | Whether the process has been registered to a controller. |
order | Determines the order in which processes are handled. The process with the lowest order value is handled first. |
id | The unique identifier of the movement process. |
Methods
OnRegister | A callback invoked when the process is registered to a controller. |
OnUnregister | A callback invoked when the process is unregistered from a controller. |
OnUpdate | Handles the movement process logic every frame by the controller. |
OnPreUpdate | Checks for any state changes before the process is handled. |
OnPostUpdate | Checks for any state changes after the process is handled. |
OnMovementProfileChanged | A callback invoked when the movement profile changes. |