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

List< ILocomotionEventBroadcaster > Broadcasters[Get]
List< ILocomotionEventHandler > Handlers[Get]

Events

Implementation of ILocomotionEventBroadcaster.WhenLocomotionPerformed; for details, please refer to the related documentation provided for that interface.
Implementation of ILocomotionEventHandler.WhenLocomotionEventHandled; for details, please refer to the related documentation provided for that interface.

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
Injects all required dependencies for a dynamically instantiated LocomotionEventsConnection.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying ILocomotionEventBroadcaster set for a dynamically instantiated LocomotionEventsConnection.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying ILocomotionEventHandler set for a dynamically instantiated LocomotionEventsConnection.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Sets the underlying ILocomotionEventHandler for a dynamically instantiated LocomotionEventsConnection.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon