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