From bb225801b96b0726643933537049caf8c7ea853e Mon Sep 17 00:00:00 2001 From: shadow8t4 Date: Thu, 3 May 2018 18:53:21 -0500 Subject: [PATCH] Back button on home doesn't quit out of app. would reset fitbit login, which could prove to be annoying. Now only pressing back from main will quit. --- MoCha/Assets/Scripts/NavigationManager.cs | 3 ++- .../ProjectSettings/EditorBuildSettings.asset | Bin 4660 -> 4584 bytes 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MoCha/Assets/Scripts/NavigationManager.cs b/MoCha/Assets/Scripts/NavigationManager.cs index 433b043..a3ea4cf 100644 --- a/MoCha/Assets/Scripts/NavigationManager.cs +++ b/MoCha/Assets/Scripts/NavigationManager.cs @@ -80,9 +80,10 @@ public class NavigationManager : MonoBehaviour switch(currentscene) { case "Main": - case "Home": Application.Quit(); break; + case "Home": + break; case "MonsterCreator": SceneManager.LoadScene ("Stats"); break; diff --git a/MoCha/ProjectSettings/EditorBuildSettings.asset b/MoCha/ProjectSettings/EditorBuildSettings.asset index 846ffd7bfc588c0279d90f6bba5fed9aa7efa90e..08a7dc19bdbc82e2149ae9bc8cb9c9f48f38f35d 100644 GIT binary patch delta 43 zcmdm@@X#At5CI>bMG% delta 116 zcmaE%yhVkBfq_YrfkDV*BZmqTlL^yiL#E5TEDQ_`T$@=1Rx|nlSqz3i>{wi!T2ibZ zoS9pYlj@k4Qk0*W;+J2NnU