Exemple #1
0
        void Start()
        {
            _allLevels = LevelHandler.GetAllLevels();

            RectTransform rectTransform = GetComponent <RectTransform>();

            LevelInfoBox = GetComponentInChildren <LevelInfoBox>(true);

            foreach (var level in _allLevels)
            {
                LevelInfoBox.CreateLevelInfoBox(level, rectTransform, LevelInfoBox);
            }
        }