API reference
API reference
Select your platform
No SDKs available
No versions available

LocomotionEventsConnection Class

This component serves as a nexus point between LocomotionEventBroadcasters and a LocomotionEventHandler.
Use it to group several LocomotionEventBroadcasters and re-route them to your player controller, or invoke it directly to get the event forwarded.

Properties

IEnumerable< ILocomotionEventBroadcaster > Broadcasters[Get]
Action< LocomotionEvent, Pose > WhenLocomotionEventHandled

Events

Action< LocomotionEvent > WhenLocomotionPerformed

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

Processes an incoming locomotion event and applies the appropriate transformations or state changes based on the event type.
Parameters
locomotionEvent
The LocomotionEvent containing movement or teleportation data
void InjectAllLocomotionBroadcastersHandlerConnection
( IEnumerable< ILocomotionEventBroadcaster > broadcasters,
void InjectAllLocomotionBroadcastersHandlerConnection
void InjectOptionalBroadcasters
( IEnumerable< ILocomotionEventBroadcaster > broadcasters )
void InjectHandler
Did you find this page helpful?
Thumbs up icon
Thumbs down icon