Documentation

Unity Engine


Unity Engine


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.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public readonly bool IsSparse()

Returns

Type

Description

boolWhether the available entities contain gaps.