using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using LzFramework.UI; using System; namespace DisComputer { public class SpareDetailInfoView : TTUIPage { public SpareDetailInfoView() : base(UIType.PopUp, UIMode.DoNothing, UICollider.None) { uiPath = "UIPrefabs/SpareDetailInfoView"; } //元件标题 private Text title_txt; //元件信息 private Text info_txt; //关闭按钮 private Button close_btn; public override void Awake(GameObject go) { title_txt = this.transform.Find("Text_title").gameObject.GetComponent(); info_txt = this.transform.Find("Text_info").gameObject.GetComponent(); close_btn = this.transform.Find("Button_close").gameObject.GetComponent