private IEnumerator NewRoutine() { BlackPanel.Get().Show(); yield return(new WaitForSeconds(1f)); PlayerData.NewGame(); SceneNav.GoTo(PlayerData.Get().current_scene); }
private IEnumerator LoadRoutine() { BlackPanel.Get().Show(); yield return(new WaitForSeconds(1f)); PlayerData.Unload(); //Make sure to unload first, or it won't load if already loaded PlayerData.LoadLast(); SceneNav.GoTo(PlayerData.Get().current_scene); }