MovementBehavior<T>
Class in Zigurous.CharacterController
Inherits from MovementProcess
Declaration
public abstract class MovementBehavior<T> : MovementProcess where T : MovementBehaviorSettings, new()
Description
A type that executes a movement behavior using provided settings.
Type Parameters
T |
Properties
settings | The settings for the behavior. |
enabled | Enables or disables the behavior from being updated. |
Methods
OnPreUpdate | Checks for any state changes before the process is handled. |
OnEnable | A callback invoked when the behavior is enabled. |
OnDisable | A callback invoked when the behavior is disabled. |
StartCoroutine | Starts a coroutine. |
StopCoroutine | Stops a coroutine. |
Inherited
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. |