docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetKeyValueArrays

    GetKeyValueArrays(AllocatorHandle)

    Returns a NativeKeyValueArrays with a copy of all this hash map's keys and values.

    Declaration
    public NativeKeyValueArrays<TKey, TValue> GetKeyValueArrays(AllocatorManager.AllocatorHandle allocator)
    Parameters
    Type Name Description
    AllocatorManager.AllocatorHandle allocator

    The allocator to use.

    Returns
    Type Description
    NativeKeyValueArrays<TKey, TValue>

    A NativeKeyValueArrays with a copy of all this hash map's keys and values.

    Remarks

    The key-value pairs are copied in no particular order. For all i, Values[i] will be the value associated with Keys[i].

    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)