Unity Engine documentationScript ReferenceUnity.CollectionsNativeSlice<T>LengthRepresents the number of elements in a NativeSlice<T>.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: Unity.Collections Assembly: UnityEngine.CoreModule public int Length { get; }