docs.unity3d.com
    Show / Hide Table of Contents

    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
    See Also
    locomotionPhase
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023