public void Bind(BattleModel battleModel, BattleScrollList battleScrollList) { model = battleModel; scrollList = battleScrollList; battleNumText.text = "第" + ConvertHelper.convertNumToStr(model.order) + "关"; battleTitleText.text = model.battleTitle; statusText.text = PrefDefine.BATTLE_STATUS[model.status]; }
public void getAllBattleByChapterId(int chapterId, BattleScrollList controller) { battleController = controller; StartCoroutine(HttpGetAllBattleByChapterId(chapterId)); }