docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method TryStartLocomotionImmediately

    TryStartLocomotionImmediately()

    Attempts to transition this provider into the Moving state. This succeeds if locomotionState was not already Moving when this was called.

    Declaration
    protected bool TryStartLocomotionImmediately()
    Returns
    Type Description
    bool

    Returns true if locomotionState was not already Moving when this was called, false otherwise.

    Remarks

    This method bypasses the check for canStartMoving. After this provider enters the Moving state, it will invoke locomotionStarted and gain access to the XRBodyTransformer.

    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)