From ebe3dc11e639c1069fbcdb50e61dc77f35b59e8f Mon Sep 17 00:00:00 2001 From: suntao Date: Thu, 10 Jun 2021 19:11:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=AE=BE=E5=A4=87=E9=A1=B5?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/Prefab/Device/DeviceView.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/UI/Prefab/Device/DeviceView.cs b/Assets/Scripts/UI/Prefab/Device/DeviceView.cs index 3b715d9c..fcb139fd 100644 --- a/Assets/Scripts/UI/Prefab/Device/DeviceView.cs +++ b/Assets/Scripts/UI/Prefab/Device/DeviceView.cs @@ -117,6 +117,7 @@ public class DeviceView : MonoBehaviour } InitLogo(); + title.text = GetTitle(); connectionPanel.SetActive(false); @@ -226,9 +227,7 @@ public class DeviceView : MonoBehaviour logo.sprite = sprite0; noDevice.text = "NO DEVICE"; - searchState.text = "Searching..."; - - title.text = GetTitle(); + searchState.text = "Searching..."; var hasDevice = App.MainDeviceAdapter.GetDevices().Any(d => d.Sensor == SensorType); if (hasDevice)