Example #1
0
 private void Awake()
 {
     GemsOnBoard = new Gem[Columns, Rows];
     PoolsManager.RegisterPool(_gemPool);
     _gemPool.Prefab = _gemPrefab.gameObject;
     _gemPool.Initialize();
 }
Example #2
0
 private void Start()
 {
     PoolsManager.RegisterPool(pool);
     pool.Initialize();
     StartCoroutine(Spawn());
 }