public void logOut()//log the player out of the game { Data.deleteUserConnection(info.UserName); SceneManager.LoadScene("LoginPage"); }
public void logout() { db.deleteUserConnection(PlayerPrefs.GetString("userName")); SceneManager.LoadScene("LoginPage"); }