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