文档

Unity Engine

Unity Engine

WorldUpdateAllocator

Retrieve the world update allocator of the World in which this system exists.
阅读时间1 分钟最后更新于 19 天前

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.