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]
Implementation of ILocomotionEventHandler.WhenLocomotionEventHandled; for details, please refer to the related documentation provided for that interface.

Events

Implementation of ILocomotionEventBroadcaster.WhenLocomotionPerformed; 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

Implementation of ILocomotionEventHandler.HandleLocomotionEvent; for details, please refer to the related documentation provided for that interface.
void InjectAllLocomotionBroadcastersHandlerConnection
( IEnumerable< ILocomotionEventBroadcaster > broadcasters,
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 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