private void Start() { for (int i = 0; i < 15; i++) { pool.TryGetObject(prefab, HandlePoolCallback); } StartCoroutine(DestroyObjects()); StartCoroutine(SpawnMore()); }
private void Start() { for (int i = 0; i < 15; i++) { pool.TryGetObject(prefab, HandlePoolCallback); } StartCoroutine(DestroyObjects()); StartCoroutine(SpawnMore()); }