예제 #1
0
 public Pool(int totalComponents, int startCreationIndex)
 {
     _totalComponents = totalComponents;
     _creationIndex = startCreationIndex;
     _groupsForIndex = new List<Group>[totalComponents];
     _entityPool = new ObjectPool(createEntity);
 }