public void addLetter(string letter) { word += letter; wordLength = dictionary.checkWord(word); if (wordLength > 0) { score += calculateScore(wordLength); } Debug.Log(score); }