docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetProviderLocomotionState

    GetProviderLocomotionState(LocomotionProvider)

    Queries the state of locomotion for the given provider.

    Declaration
    public LocomotionState GetProviderLocomotionState(LocomotionProvider provider)
    Parameters
    Type Name Description
    LocomotionProvider provider

    The provider whose locomotion state to query.

    Returns
    Type Description
    LocomotionState

    Returns the state of locomotion for the given provider. This returns Idle if the provider is not managed by this mediator.

    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)