Beispiel #1
0
 //We don't need to check index as that's already done further up the chain
 void DespawnCallback(bool initial, int index, BeatmapObject objectData)
 {
     if (LoadedContainers.ContainsKey(objectData))
     {
         RecycleContainer(objectData);
     }
 }
Beispiel #2
0
 //We don't need to check index as that's already done further up the chain
 void SpawnCallback(bool initial, int index, BeatmapObject objectData)
 {
     if (!LoadedContainers.ContainsKey(objectData))
     {
         CreateContainerFromPool(objectData);
     }
 }