docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetBit

    GetBit(int)

    Retrieve the value of the bit from bit-memory-address (first bit) + index

    Declaration
    public bool GetBit(int index)
    Parameters
    Type Name Description
    int index

    index in the array of bits to retreive the value from

    Returns
    Type Description
    bool

    The value of the bit from bit-memory-address (first bit) + index

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if the EnabledMask is missing a pointer to the ChunkDisabledCount

    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)