public void Bind(ChapterModel chapterModel, ChapterScrollList heroScrollList) { model = chapterModel; scrollList = heroScrollList; chapterNumText.text = "第" + ConvertHelper.convertNumToStr(model.chapterId) + "章"; char[] delimiterChars = { ' ' }; string[] words = model.chapterTitle.Split(delimiterChars); descOneText.text = words[0]; descTwoText.text = words[1]; statusText.text = PrefDefine.CHAPTER_STATUS[model.status]; }
public void getAllChapter(ChapterScrollList controller) { chapterController = controller; StartCoroutine(HttpGetAllChapter()); }