private void Start()
        {
            _timelineController   = gameObject.GetComponent <TimelineController>();
            _commendationsManager = gameObject.GetComponent <CommendationsManager>();

            normalDifficultyButton.SetActive(_timelineController.difficulty == DifficultyEnum.Hard);
            hardDifficultyButton.SetActive(_timelineController.difficulty == DifficultyEnum.Normal);
        }
Example #2
0
        private void Start()
        {
            _interactionManager = gameObject.GetComponent <InteractionManager>();
            _timelineController = gameObject.GetComponent <TimelineController>();

            _tileToBagMap = new Dictionary <string, GameObject>
            {
                { "2X1", bag2X1Prefab },
                { "1X2", bag2X1Prefab },
                { "3X1", bag3X1Prefab },
                { "1X3", bag3X1Prefab },
                { "2X2", bag2X2Prefab },
            };

            _initializedGrids = InitializedGridList.GetGrids();
        }
Example #3
0
 public void Start()
 {
     _timelineController = gameObject.GetComponent <TimelineController>();
 }