docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class LocomotionStateExtensions

    Extension methods for LocomotionState.

    Inheritance
    object
    LocomotionStateExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
    Assembly: solution.dll
    Syntax
    public static class LocomotionStateExtensions

    Methods

    Name Description
    IsActive(LocomotionState)

    Whether this is the state of actively preparing or performing locomotion. This returns true if state is Preparing or Moving, false otherwise.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)