Esempio n. 1
0
    public void GameOver()
    {
        StaticVars.gameOver = true;
        StaticVars.isPaused = true;
        UpdateUI();

        int totalStars = StaticVars.starCount + PlayerPrefs.GetInt("TotalStars", 0);

        PlayerPrefs.SetInt("TotalStars", totalStars);

        leaderboardScript.CheckForHighScore();
//		StartCoroutine (WaitToCheckScore ());
    }
Esempio n. 2
0
 public void InitialsEntered()
 {
     leader.CheckForHighScore(endTime, playerName.text);
 }