Property Length
Length
The number of elements in the array.
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Unity assigns the length of the array when you call CreateBlobAssetReference<T>(AllocatorHandle), so until then this property returns 0. To get the number of elements before that point, use the Length property of the BlobBuilderArray<T> that Allocate<T>(ref BlobArray<T>, int) returns.