Beispiel #1
0
        public byte *GetComponentDataWithTypeRW(Entity entity, int typeIndex, uint globalVersion)
        {
            var entityData = m_Entities + entity.Index;

            return(ChunkDataUtility.GetComponentDataWithTypeRW(entityData->Chunk, entityData->IndexInChunk, typeIndex,
                                                               globalVersion));
        }