docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method IsActive

    IsActive(LocomotionState)

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

    Declaration
    public static bool IsActive(this LocomotionState state)
    Parameters
    Type Name Description
    LocomotionState state

    The locomotion state to check.

    Returns
    Type Description
    bool

    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)