Beispiel #1
0
 public void CreatePool(int amountToPool)
 {
     GenericObjectPooler.CreatePool(objectToSpawn, amountToPool);
 }
Beispiel #2
0
 //Since this can be reused very easily and just generally be used for any kind of trail, might refactor this
 //into a parent/base class
 private void Start()
 {
     GenericObjectPooler.CreatePool(trailRenderer, trailsToPool);
 }