Esempio n. 1
0
        internal override unsafe void InjectEntry(InjectionContext.Entry entry, ComponentGroup entityGroup, ref ComponentChunkIterator iterator, int length, byte *groupStructPtr)
        {
            var gameObjectArray = entityGroup.GetGameObjectArray();

            UnsafeUtility.CopyStructureToPtr(ref gameObjectArray, groupStructPtr + entry.FieldOffset);
        }