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 |
---|---|---|
Idle | Describes the idle state of a locomotion, for example, when the user is standing still with no locomotion inputs. |
0 |
Started | Describes the started state of a locomotion, for example, when the locomotion input action is started. |
1 |
Moving | Describes the moving state of a locomotion, for example, when the user is continuously moving by pushing the joystick. |
2 |
Done | Describes the done state of a locomotion, for example, when the user has ended moving. |
3 |