Unity Collections Package | Collections | 0.5.2-preview.8
docs.unity.cn

    Unity Collections Package

    The Collections Package provides additional data structures compatible with the Unity Jobs system.

    The Collections package includes the following data structures:

    • List — NativeList<T>
    • Hash table — NativeHashMap<TKey, TValue>
    • Multi-value-per-key hash table — NativeMultiHashMap<TKey, TValue>
    • Queue — NativeQueue<T>

    The items in this package build upon the NativeArray, NativeSlice, and other members of the Unity.Collections namespace, which Unity includes in the core module.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX