using UnityEngine; using UnityEngine.UI; using System.Collections; using Games.GlobeDefine; public class RoleViewAchieveItem : UIItemBase { #region public Text _NameTx; public Text _DescTx; #endregion public override void Show(Hashtable hash) { base.Show(); var teamInfo = (TeamInfo)hash["InitObj"]; InitTeamInfo(teamInfo); } private void InitTeamInfo(TeamInfo teamInfo) { if (teamInfo == null) return; } private string GetSpriteByPro(int pro) { switch (pro) { case 0: return ("head-xiaoyao"); case 1: return ("head-shaolin"); case 2: return ("head-tianshan"); case 3: return ("head-dali"); } return ""; } }