Chunk
The chunk containing the specified Entity.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Field
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public ArchetypeChunk Chunk
Remarks
Users should be extremely careful when accessing this field from job code. Specifically, multiple threads must not modify the same ArchetypeChunk. The type is not thread-safe, and parallel writes will result in race conditions and unpredictable behavior.