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

LocomotionGateUnityEventWrapper Class

Extends MonoBehaviour
Exposes UnityEvents wrapping a LocomotionGate component.
See the LocomotionGate documentation for more details on when these events are raised and what they represent.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper._started

Fields

WhenChangedToTeleport : UnityEvent
Raised when the LocomotionGate enters its Teleport state.
Signature
UnityEvent Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.WhenChangedToTeleport
WhenChangedToTurn : UnityEvent
Raised when the LocomotionGate enters its Turn state.
Signature
UnityEvent Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.WhenChangedToTurn
WhenEnterLocomotion : UnityEvent
Raised when the LocomotionGate enters its locomotion state.
Signature
UnityEvent Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.WhenEnterLocomotion
WhenExitLocomotion : UnityEvent
Raised when the LocomotionGate exits its locomotion state.
Signature
UnityEvent Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.WhenExitLocomotion

Protected Methods

OnDisable ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.Start()
Returns
void

Methods

InjectAllLocomotionGateUnityEventWrapper ( locomotionGate )
Injects all required dependencies for a dynamically instantiated LocomotionGateUnityEventWrapper.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.InjectAllLocomotionGateUnityEventWrapper(LocomotionGate locomotionGate)
Parameters
locomotionGate: LocomotionGate
Returns
void
InjectLocomotionGate ( locomotionGate )
Sets the underlying LocomotionGate for a dynamically instantiated LocomotionGateUnityEventWrapper.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Locomotion.LocomotionGateUnityEventWrapper.InjectLocomotionGate(LocomotionGate locomotionGate)
Parameters
locomotionGate: LocomotionGate
Returns
void