diff --git a/Assets/Scripts/ANet/DeviceItem.cs b/Assets/Scripts/ANet/DeviceItem.cs index 31948d6..cdc6ec6 100644 --- a/Assets/Scripts/ANet/DeviceItem.cs +++ b/Assets/Scripts/ANet/DeviceItem.cs @@ -40,7 +40,6 @@ public class DeviceItem : MonoBehaviour } private void ViewBtn_Click() { - //DeviceInfo.Instance.OnShow(BindData); string deviceName = ""; foreach (var item in DevicePanelManager.Instance.BindObjectList) { @@ -59,11 +58,13 @@ public class DeviceItem : MonoBehaviour } else { + DeviceInfo.Instance.OnShow(BindData); DevicePanelManager.Instance.NowClickObject = null; } } else { + DeviceInfo.Instance.OnShow(BindData); DevicePanelManager.Instance.NowClickObject = null; } }