Beispiel #1
0
        private void Start()
        {
            for (int i = 0; i < 15; i++)
            {
                pool.TryGetObject(prefab, HandlePoolCallback);
            }

            StartCoroutine(DestroyObjects());
            StartCoroutine(SpawnMore());
        }