Exemple #1
0
 public void TriggerNewWord(string word)
 {
     _currentWordCharacters_REAL = word.ToCharArray();
     _currentWordCharacters_HINT = new char[_currentWordCharacters_REAL.Length];
     _currentHintPhase           = HintPhases.blank;
     Debug.Log("Word Triggered: " + word);
 }
Exemple #2
0
    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;
    }