Skip to content

Commit 2123c4d

Browse files
Returns quit function to close button
1 parent 9df76d4 commit 2123c4d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Gyroscope Testing/Assets/Samples/Google Cardboard XR Plugin for Unity/1.27.0/Hello Cardboard/Scripts/CardboardStartup.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
//-----------------------------------------------------------------------
23
// <copyright file="CardboardStartup.cs" company="Google LLC">
34
// Copyright 2020 Google LLC
@@ -106,7 +107,8 @@ public void Update()
106107
if (Api.IsCloseButtonPressed && _inputBuffer)
107108
{
108109
_inputBuffer = false;
109-
ExitVR();
110+
//ExitVR();
111+
Application.Quit();
110112
}
111113
else
112114
{
File renamed without changes.

0 commit comments

Comments
 (0)