微调
This commit is contained in:
parent
f7450f0067
commit
61fefda590
@ -534,7 +534,7 @@ namespace Assets.Scenes.Ride.Scripts
|
|||||||
//结束游戏
|
//结束游戏
|
||||||
protected virtual void StopRide(BaseEventData baseEventData)
|
protected virtual void StopRide(BaseEventData baseEventData)
|
||||||
{
|
{
|
||||||
if (playerController?.TotalTicks > 0 && playerController ?.TotalDistance > 0.5f)
|
if (playerController?.TotalTicks > 0 && playerController ?.TotalDistance > 0.1f)
|
||||||
{
|
{
|
||||||
quitPanel.SetActive(true);
|
quitPanel.SetActive(true);
|
||||||
quitPanel.transform.SetAsLastSibling();
|
quitPanel.transform.SetAsLastSibling();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user