文档

Unity Engine

Download Unity

Unity Engine

CreateArchetypeChunkArray(AllocatorHandle)

Obsolete. Use EntityQuery.ToArchetypeChunkArray instead.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
警告
Deprecated. This method has been renamed to ToArchetypeChunkArray. (RemovedAfter Entities 1.0)
public NativeArray<ArchetypeChunk> CreateArchetypeChunkArray(AllocatorManager.AllocatorHandle allocator)

Parameters

Allocator to use for the array.

Returns

Type

Description

NativeArray<ArchetypeChunk>A NativeArray of all the chunks in this matched by this query.