コード例 #1
0
 public unsafe void PoisonUnusedDataInAllChunks(EntityArchetype archetype, byte value)
 {
     for (UnsafeLinkedListNode *nodePtr = archetype.Archetype.ChunkList.Begin; nodePtr != archetype.Archetype.ChunkList.End; nodePtr = nodePtr->Next)
     {
         ChunkDataUtility.PoisonUnusedChunkData((Chunk *)nodePtr, value);
     }
 }