Пример #1
0
    public void InitialsEntered()
    {
        //lb.CheckForHighScore(timer.time, playerName.text);
        LeaderBoard lb = FindObjectOfType <LeaderBoard>();

        lb.CheckForHighScore((float)ScoreCounter.score, playerName.text);
        ScoreCounter.score = 0;
        submitButton.gameObject.SetActive(false);
        playerName.gameObject.SetActive(false);
    }
Пример #2
0
 public void OnDeath()
 {
     Debug.Log("YOU CALLED?");
     lBoard.CheckForHighScore(points);
 }