docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method FirstActiveFlagIndex

    FirstActiveFlagIndex(int)

    Returns the index of the first true bit of a flag.

    Declaration
    public static int FirstActiveFlagIndex(int value)
    Parameters
    Type Name Description
    int value

    The flags value to check.

    Returns
    Type Description
    int

    The index of the first active flag.

    In This Article
    Back to top
    Copyright © 2024 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)