设备连接界面微调&划船机本地记录过滤
This commit is contained in:
1 parent
e7af21b126
commit
d9848e4e9d
6 files changed
+25
-10
No files matched your search
@@ -238,6 +238,9 @@ public class ConnectDeviceModal : PFUIPanel
|
||||
// firstDevice = devicesTemp.FirstOrDefault(d=>d)
|
||||
//}
|
||||
}
|
||||
//如果没有可连接的设备按钮只读
|
||||
connectBtn.mButton.enabled = deviceList.Count > 0;
|
||||
connectBtn.mButton.interactable = deviceList.Count > 0;
|
||||
}
|
||||
}
|
||||
//选中需要连接的设备
|
||||
|
||||
@@ -70,7 +70,7 @@ public class DeviceView : MonoBehaviour
|
||||
mSearchButton = unconnectionPanel.transform.Find("SearchButton").gameObject;
|
||||
mPairButton = unconnectionPanel.transform.Find("PairButton").gameObject;
|
||||
searchState = unconnectionPanel.transform.Find("SearchState").GetComponent<Text>();
|
||||
mPairButton.SetActive(false);
|
||||
//mPairButton.SetActive(false);
|
||||
connectionPanel = this.transform.Find("ConnectionPanel").gameObject;
|
||||
#if UNITY_IOS || UNITY_ANDROID
|
||||
unconnectionButton = unconnectionPanel.GetComponent<Button>();
|
||||
@@ -307,7 +307,7 @@ public class DeviceView : MonoBehaviour
|
||||
#if !(UNITY_IOS || UNITY_ANDROID)
|
||||
mSearchButton.SetActive(true);
|
||||
#endif
|
||||
mPairButton.SetActive(false);
|
||||
//mPairButton.SetActive(false);
|
||||
}
|
||||
}
|
||||
else if(connectedDevice.State == DeviceState.Connecting)
|
||||
|
||||
Reference in new issue
Block a user