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