Exemple #1
0
 // Use this for initialization
 void Start()
 {
     wordsListed = new List <wordOutput>();
     firstSpawn();
     GridScript.scoreVisual = scoreOutput;
     GridScript.scoreText   = scoreOutput.GetComponent <Text>();
     levelOutput.GetComponent <Text>().text = level.ToString();
     wordCollection = WordContainer.Load(Path.Combine(Application.dataPath, "Resources/WordList.xml"));
     newWord();
 }