Ejemplo n.º 1
0
    private void ClickOnUser(UserData user, string filePath)
    {
        PlayerPrefs.SetString("CurrentUser", user.name);
        PlayerPrefs.SetString("CurrentUserFilePath", filePath);
        PlayerPrefs.SetInt("CurrentTierId", 0);

        currentUserDataObject.SetCurrentUser(user);
        Debug.Log(currentUserDataObject.GetCurrentUser());
        Debug.Log(currentUserDataObject.GetCurrentUser().name);

        SceneManager.LoadScene("TierMenu");
    }