//选中 public void SetRoleFocus(HeadRole r) { if (pop != null && pop.curRoleView != r) { pop.curRoleView.SetFous(false); pop.curRoleView = r; r.SetFous(true); SetBoxingList(); SetEquipBoxingList(ref r.data); //CheckBtn(); Debug.Log(r.data.sort + "/" + r.data.csv_id); } }
public void SetCurView(HeadRole role) { curView = role; role.SetFous(true); }