docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Event beforeStepLocomotion

    Calls the methods in its invocation list just before the XRBodyTransformer applies this provider's transformation(s). This is invoked at most once per frame while locomotionState is Moving, and only if the provider has queued at least one transformation.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: solution.dll
    Syntax
    public event Action<LocomotionProvider> beforeStepLocomotion
    Returns
    Type Description
    Action<LocomotionProvider>
    Remarks

    This is invoked before the XRBodyTransformer applies the transformations from other providers as well.

    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)