diff options
Diffstat (limited to 'Assets/Scripts/UI/ExitApplication.cs')
| -rw-r--r-- | Assets/Scripts/UI/ExitApplication.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Assets/Scripts/UI/ExitApplication.cs b/Assets/Scripts/UI/ExitApplication.cs index 272cec1..475aae7 100644 --- a/Assets/Scripts/UI/ExitApplication.cs +++ b/Assets/Scripts/UI/ExitApplication.cs @@ -21,10 +21,8 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; -public class ExitApplication : MonoBehaviour -{ - public void ExitGame() - { +public class ExitApplication : MonoBehaviour { + public void ExitGame() { Debug.Log("Game has closed."); Application.Quit(); } |
