Documentation

Unity Engine

Unity Engine

ChunkCount

The current number of chunks storing entities having this archetype.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public int ChunkCount { get; }

Remarks

This value can change whenever structural changes occur. Structural changes include creating or destroying entities, adding components to or removing them from an entity, and changing the value of shared components, all of which alter where entities are stored.