Documentation

Unity Engine


Unity Engine


WorldUpdateAllocator

Retrieve the world update allocator of the World in which this system exists.
Read time 1 minuteLast updated a day ago

Definition

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

Remarks

Behind the world update allocator are double rewindable allocators, and the two allocators are switched in each world update. Therefore user cannot cache the world update allocator.