EntityQueryBuilder(AllocatorHandle)
Create an entity query description builder.
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Constructor
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public EntityQueryBuilder(AllocatorManager.AllocatorHandle allocator)
Parameters
The allocator used to allocate the builder's arrays. Typically Allocator.Temp.
Remarks
It is safe to use Allocator.Temp for all EntityQueryBuilders. Since they are a ref struct, their lifetime is limited to the current frame.