IsSparse()
Returns whether the available entities are not a single contiguous run starting at slot 0 (i.e. there are gaps between available entities). A fully-available chunk returns false. Does not consume any entities, so it may be called before iterating.
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public readonly bool IsSparse()
Returns
Type | Description |
|---|---|
| bool | Whether the available entities contain gaps. |