示例#1
0
        private void Start()
        {
            EventHolder.moveEvent.AddListener(TryToChange);
            EventHolder.destroyEvent.AddListener(MoveDown);

            shredder = new ObjectShredder();
            finder   = new ObjectFinder();

            _tilesHolder.GenerateInTiles(out _allObjects);

            if (hintManager.TryFindHint(false, true) == false)
            {
                StartCoroutine(ReshuffleFruits());
            }

            gameState = GameState.Move;
        }