Class LocomotionProvider
The Locomotion
Inherited Members
Namespace: UnityEngine .XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[DefaultExecutionOrder(-210)]
public abstract class LocomotionProvider : MonoBehaviour
Properties
locomotionPhase
The Locomotion
Declaration
public LocomotionPhase locomotionPhase { get; protected set; }
Property Value
Type | Description |
---|---|
Locomotion |
Remarks
Each Locomotion
See Also
system
The Locomotion
Declaration
public LocomotionSystem system { get; set; }
Property Value
Type | Description |
---|---|
Locomotion |
Methods
Awake()
See Mono
Declaration
protected virtual void Awake()
BeginLocomotion()
Invokes begin locomotion events.
Declaration
protected bool BeginLocomotion()
Returns
CanBeginLocomotion()
Checks if locomotion can begin.
Declaration
protected bool CanBeginLocomotion()
Returns
EndLocomotion()
Invokes end locomotion events.
Declaration
protected bool EndLocomotion()
Returns
Events
beginLocomotion
Unity calls the begin
Declaration
public event Action<LocomotionSystem> beginLocomotion
Event Type
Type | Description |
---|---|
Action<Locomotion |
endLocomotion
Unity calls the end
Declaration
public event Action<LocomotionSystem> endLocomotion
Event Type
Type | Description |
---|---|
Action<Locomotion |