예제 #1
0
 void Logout()
 {
     if (File.Exists(Application.persistentDataPath + "/auth.grit"))
     {
         File.Delete(Application.persistentDataPath + "/auth.grit");
     }
     Utils_Prefs.ClearPrefs();
     SceneManager.LoadSceneAsync("Login");
 }
예제 #2
0
 public void LogoutButtonClick()
 {
     if (File.Exists(Application.persistentDataPath + "/auth.grit"))
     {
         File.Delete(Application.persistentDataPath + "/auth.grit");
     }
     Utils_Prefs.ClearPrefs();
     HideProjectSelectScreen();
 }