docs.unity.cn
    Show / Hide Table of Contents

    Method GetBit

    GetBit(Int32)

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

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

    index in the array of bits to retreive the value from

    Returns
    Type Description
    Boolean

    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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023