MovementBehavior<T>

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

settingsThe settings for the behavior.
enabledEnables or disables the behavior from being updated.

Methods

OnPreUpdateChecks for any state changes before the process is handled.
OnEnableA callback invoked when the behavior is enabled.
OnDisableA callback invoked when the behavior is disabled.
StartCoroutineStarts a coroutine.
StopCoroutineStops a coroutine.
Inherited

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.