using System; using System.Collections; using System.Collections.Generic; using System.Text.RegularExpressions; using UnityEngine; using UnityEngine.UI; namespace vnxbqy.UI { public class BossRebornHurtRankCell : CellView { [SerializeField] Text m_PlayerName; [SerializeField] Text m_Rank; [SerializeField] Text m_HurtValue; DungeonModel model { get { return ModelCenter.Instance.GetModel(); } } public void Display(int index) { m_Rank.text = (index + 1).ToString(); m_PlayerName.text = model.BossHurtRank.bossHurtInfo[index].HurtName; m_HurtValue.text = UIHelper.ReplaceLargeNum(model.BossHurtRank.bossHurtInfo[index].totalHurt); } } }