public void TriggerNewWord(string word) { _currentWordCharacters_REAL = word.ToCharArray(); _currentWordCharacters_HINT = new char[_currentWordCharacters_REAL.Length]; _currentHintPhase = HintPhases.blank; Debug.Log("Word Triggered: " + word); }
void TriggerHint() { if (_currentHintPhase == HintPhases.blank) { _currentHintPhase = HintPhases.showCount; } else if (_currentHintPhase == HintPhases.showCount) { for (int charIndex = 0; charIndex < _currentWordCharacters_HINT.Length; charIndex++) { _currentWordCharacters_HINT[charIndex] = '_'; } _currentHintPhase = HintPhases.showLetters; } else if (_currentHintPhase == HintPhases.showLetters) { } countdownToNextHint = 10f; }