Enum LocomotionPhase
Options for describing different phases of a locomotion.
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public enum LocomotionPhase
Remarks
It can be used for connecting with the input actions for the locomotion.
Fields
Name | Description | Value |
---|---|---|
Done | Describes the done state of a locomotion, for example, when the user has ended moving. |
|
Idle | Describes the idle state of a locomotion, for example, when the user is standing still with no locomotion inputs. |
|
Moving | Describes the moving state of a locomotion, for example, when the user is continuously moving by pushing the joystick. |
|
Started | Describes the started state of a locomotion, for example, when the locomotion input action is started. |