/// <summary> /// 通过职业和种族, 获取英雄模型地址 /// </summary> public static string GetHeroModelAddress(ActorRace actorRace, ActorClass actorClass) { string rn = SwordUtil.GetRaceName(actorRace); string cn = SwordUtil.GetClassName(actorClass); return(GetHeroModelAddress(rn, cn)); }
public void SetData(ActorVO vo) { if (vo == null) { return; } NameTxt.text = vo.Name; LevelTxt.text = vo.Level.ToString(); RaceTxt.text = SwordUtil.GetRaceName(vo.RaceEnum); ClassTxt.text = SwordUtil.GetClassName(vo.ClassEnum); }