public void CheckVictory() { string currentAdv = ""; foreach (var LB in LettersBoxes.Value) { currentAdv += LB.GetComponentInChildren <Text>().text; Debug.Log(currentAdv); } if (currentAdv == SelectedWord.Value) { EndTheGame(0); } }
public void CheckVictory() { string currentAdv = ""; foreach (var LB in LettersBoxes.Value) { currentAdv += LB.GetComponentInChildren <Text>().text; Debug.Log(currentAdv); } if (currentAdv == SelectedWord.Value) { EndTheGame(0); } }