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()
 {
     _levelManager         = gameObject.GetComponent <LevelManager>();
     _commendationsManager = gameObject.GetComponent <CommendationsManager>();
 }