Exemplo n.º 1
0
    void Start()
    {
        sScore = GameObject.Find("GodObject").GetComponent<StayingScores>();
        theScore = sScore.setScore;
        userName = sScore.changeName;

        score.text = "Your score is: " + theScore;

        Highscores.AddNewHighscore(userName, theScore);
    }
 void Awake()
 {
     scoreClass = GameObject.Find("GameHandler").GetComponent<TheScore>();
     sScore = GameObject.Find("GodObject").GetComponent<StayingScores>();
     player = GameObject.Find("Player").GetComponent<PlayerController>();
 }
Exemplo n.º 3
0
 void Start()
 {
     sScore = GameObject.Find("GodObject").GetComponent<StayingScores>();
     name = sScore.changeName;
     displayName.text = "" + name;
 }
Exemplo n.º 4
0
 void Awake()
 {
     sScore = GameObject.Find("GodObject").GetComponent<StayingScores>();
 }