Browse Source

没有绑定物体的设备信息也需要展示

develop
杨栋梁 11 months ago
parent
commit
da2dace272
  1. 3
      Assets/Scripts/ANet/DeviceItem.cs

3
Assets/Scripts/ANet/DeviceItem.cs

@ -40,7 +40,6 @@ public class DeviceItem : MonoBehaviour
} }
private void ViewBtn_Click() private void ViewBtn_Click()
{ {
//DeviceInfo.Instance.OnShow(BindData);
string deviceName = ""; string deviceName = "";
foreach (var item in DevicePanelManager.Instance.BindObjectList) foreach (var item in DevicePanelManager.Instance.BindObjectList)
{ {
@ -59,11 +58,13 @@ public class DeviceItem : MonoBehaviour
} }
else else
{ {
DeviceInfo.Instance.OnShow(BindData);
DevicePanelManager.Instance.NowClickObject = null; DevicePanelManager.Instance.NowClickObject = null;
} }
} }
else else
{ {
DeviceInfo.Instance.OnShow(BindData);
DevicePanelManager.Instance.NowClickObject = null; DevicePanelManager.Instance.NowClickObject = null;
} }
} }

Loading…
Cancel
Save