Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     score = PlayerStats.Instance.getScore();
     retrieveInfo();
     if (score > 0)
     {
         if (numPlayers < MAX_SCORES - 1)
         {
             StartCoroutine("getInput");
             return;
         }
         else if (compareScores())
         {
             StartCoroutine("getInput2", index);
             return;
         }
     }
     panel.SetActive(true);
     highScoresHolder = GameObject.FindWithTag("HighScores").GetComponentsInChildren <Text>();
     input.Deactivate();
     printArray();
 }