using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; //public class Union //{ // public int id; // public string name; // public string iconName; // public string counts;//公会人数 //} public class TradeDes : MonoBehaviour { //公会属性 public int id; public string name; public string cover; public string counts;//公会人数 public int level; public string slogan; public int leaderId; public string leaderUserName; public string createTime; public string updateTime; //公会相关组件 public Button sqBtn;//申请按钮 public TextMeshProUGUI nameTxt;//名称text //public TextMeshPro countTxt;//数量Text // Start is called before the first frame update void Awake() { sqBtn = transform.Find("Button").GetComponent