Ejemplo n.º 1
0
        public IEnumerator ReshuffleFruits()
        {
            hintManager.ClearTimer();
            yield return(new WaitForSeconds(reshuffleDelay));

            foreach (GameObject fruit in _allObjects)
            {
                Destroy(fruit);
            }
            _tilesHolder.GenerateInTiles(out _allObjects);
            AudioManager.Instance.ShuffleSound();
        }