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