骑行页面增加错误诊断,解决视角切换箭头位置回到起点问题

This commit is contained in:
lishuo committed 2021-06-10 18:14:14 +08:00
1 parent 734893ff83
commit 8dfd4d696c
3 files changed
+7 -10

No files matched your search

@@ -59,8 +59,10 @@ public class CyclingController : DeviceServiceMonoBase
}
GameObject miniMap;
GameObject resultPanel;
void Awake()
protected override void Awake()
{
base.Awake();
#if UNITY_EDITOR
if (App.CurrentUser == null)
{
@@ -390,9 +392,7 @@ public class CyclingController : DeviceServiceMonoBase
player.transform.position = pos;
player.transform.localScale = new Vector3(0.1f, 0.1f, 0.1f);
target.position = pos;
playerController.currentPos = Vector3.zero;
//playerController.currentPos = Vector3.zero;
arrowGameObj.SetActive(true);
Is3dView = false;
}
@@ -608,8 +608,4 @@ public class CyclingController : DeviceServiceMonoBase
return list;
}
#endregion
private void OnApplicationQuit()
{
App.MainDeviceAdapter.Dispose();
}
}