Length
The number of elements in the array.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public int Length { get; }
Remarks
Unity assigns the length of the array when you call BlobBuilder.CreateBlobAssetReference, so until then this property returns 0. To get the number of elements before that point, use the BlobBuilderArray<T>.Length property of the BlobBuilderArray<T> that BlobBuilder.Allocate returns.