修复比赛结束时观察者模式看不到结果&观察者不用连接设备

This commit is contained in:
lishuo committed 2021-07-28 16:30:07 +08:00
1 parent 4a8239a2db
commit 978debcd23
5 files changed
+2558 -2139

No files matched your search

@@ -171,7 +171,7 @@ namespace Assets.Scenes.Ride.Scripts
#if UNITY_EDITOR
checkAnt = true;
#endif
if (!checkAnt)
if (!checkAnt && !cyclingController.isWatch)
{
var alert = (GameObject)Instantiate(Resources.Load("UI/Prefab/Ride/Alert"), panel.transform);
alert.SetActive(true);