コード例 #1
0
ファイル: BasicSpawner.cs プロジェクト: nagahole/scope
 public void CreatePool(int amountToPool)
 {
     GenericObjectPooler.CreatePool(objectToSpawn, amountToPool);
 }
コード例 #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);
 }