コード例 #1
0
        private void Start()
        {
            _timelineController   = gameObject.GetComponent <TimelineController>();
            _commendationsManager = gameObject.GetComponent <CommendationsManager>();

            normalDifficultyButton.SetActive(_timelineController.difficulty == DifficultyEnum.Hard);
            hardDifficultyButton.SetActive(_timelineController.difficulty == DifficultyEnum.Normal);
        }
コード例 #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();
        }
コード例 #3
0
 public void Start()
 {
     _timelineController = gameObject.GetComponent <TimelineController>();
 }