public static unsafe void *GetComponentDataWithTypeRW(this ArchetypeChunk chunk, int chunkIndex, int typeIndex, uint globalSystemVersion) { chunk.AssertEntityHasComponent(typeIndex); return(ChunkDataUtility.GetComponentDataWithTypeRW(chunk.m_Chunk, chunkIndex, typeIndex, globalSystemVersion)); }
public static unsafe void *GetComponentDataWithTypeRO(this ArchetypeChunk chunk, int chunkIndex, int typeIndex) { chunk.AssertEntityHasComponent(typeIndex); return(ChunkDataUtility.GetComponentDataWithTypeRO(chunk.m_Chunk, chunkIndex, typeIndex)); }