Unity Engine documentationScript ReferenceUnity.CollectionsNativeHashSet<T>NativeHashSet<T>.ReadOnlyCountThe current number of items in this hash set.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: Unity.Collections Assembly: UnityEngine.ManagedKernelModule public readonly int Count { get; }