Example #1
0
 void Awake()
 {
     SquirrelPool = new AnimalPool(squirrel);
     SquirrelPool.InitializePool();
     HarePool = new AnimalPool(hare);
     HarePool.InitializePool();
     DeerPool = new AnimalPool(deer);
     DeerPool.InitializePool();
     WolfPool = new AnimalPool(wolf);
     WolfPool.InitializePool();
     BearPool = new AnimalPool(bear);
     BearPool.InitializePool();
 }