using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UI_ConnectStation : BasePanel { public string triggerName; //bool reinstalled = false; Device_Control dc = null; public Device_Collector collector; public Device_Sundries sundries; public override void ShowMe() { base.ShowMe(); //dc = FindObjectOfType(); dc = FindObjectOfType(); collector = dc.GetComponentInChildren(true); sundries = dc.GetComponentInChildren(true); collector.plug.onPlugToClose += HighlightBtn; if (GameManager.RunModelMgr.ModeType == E_ModeType.Study) { GetControl