Exemple #1
0
        public void Init(BookPanel _manager, GenericCategoryData _data)
        {
            data    = _data;
            manager = _manager;

            Title.text    = data.Title;
            SubTitle.text = data.Id;
        }
Exemple #2
0
        public void SelectSubCategory(GenericCategoryData _category)
        {
            switch (_category.area)
            {
            case PlayerBookPanel.BookLetters:
                LettersPanel(_category.Id);
                break;

            case PlayerBookPanel.BookWords:
                WordsPanel(_category.wordCategory);
                break;
            }
        }