public void Init(BookPanel _manager, GenericCategoryData _data) { data = _data; manager = _manager; Title.text = data.Title; SubTitle.text = data.Id; }
public void SelectSubCategory(GenericCategoryData _category) { switch (_category.area) { case PlayerBookPanel.BookLetters: LettersPanel(_category.Id); break; case PlayerBookPanel.BookWords: WordsPanel(_category.wordCategory); break; } }