骑行界面细节调整
This commit is contained in:
1 parent
c280408192
commit
3fb8aee922
11 files changed
+4056
-6695
No files matched your search
@@ -176,11 +176,15 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
var checkAnt = cyclingController.CheckAnt();
|
||||
#if UNITY_EDITOR
|
||||
checkAnt = true;
|
||||
checkAnt = true;
|
||||
#endif
|
||||
if (!checkAnt && !cyclingController.isWatch)
|
||||
if (!checkAnt && !cyclingController.isWatch)
|
||||
{
|
||||
#if UNITY_IOS || UNITY_ANDROID
|
||||
var alert = (GameObject)Instantiate(Resources.Load("UI/Prefab/Ride/Mobile/Alert"), panel.transform);
|
||||
#else
|
||||
var alert = (GameObject)Instantiate(Resources.Load("UI/Prefab/Ride/Alert"), panel.transform);
|
||||
#endif
|
||||
alert.SetActive(true);
|
||||
}
|
||||
else
|
||||
|
||||
@@ -480,8 +480,11 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
//显示设备连接
|
||||
public void ShowDevicePanel(BaseEventData baseEventData)
|
||||
{
|
||||
|
||||
#if UNITY_IOS || UNITY_ANDROID
|
||||
UIManager.ShowDevicePanel();
|
||||
#else
|
||||
UIManager.Show(UIManager.Instance.DevicePanel, uipanel.GetComponent<PFUIPanel>());
|
||||
#endif
|
||||
}
|
||||
//显示设置
|
||||
public void ShowSettingPanel(BaseEventData baseEventData)
|
||||
|
||||
@@ -553,7 +553,11 @@ public class CyclingController : DeviceServiceMonoBase
|
||||
}
|
||||
public void ShowDevice(PFUIPanel pFUIPanel)
|
||||
{
|
||||
#if UNITY_IOS || UNITY_ANDROID
|
||||
UIManager.ShowDevicePanel();
|
||||
#else
|
||||
UIManager.Show(UIManager.Instance.DevicePanel, pFUIPanel);
|
||||
#endif
|
||||
}
|
||||
|
||||
public Texture GetCountryImageByCode(string code)
|
||||
|
||||
Reference in new issue
Block a user