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.
This commit is contained in:
parent
09420f5edc
commit
bb225801b9
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Binary file not shown.
Reference in a new issue