Пример #1
0
 private void PlayCorrectSound()
 {
     if (CorrectSoundPlayed == false)
     {
         audioManager.PlayStampSound();
         CorrectSoundPlayed = true;
     }
 }
Пример #2
0
        IEnumerator AllCorrectCoroutine()
        {
            audioManager.PlayStampSound();
            yield return(Wait.For(0.4f));

            widget.Show(true);
            yield return(Wait.For(1.0f));
        }
Пример #3
0
        IEnumerator AllCorrectCoroutine()
        {
            audioManager.PlayStampSound();

            // NDMichele: playing question as we finish dragging
            var question = GameObject.FindObjectOfType <QuestionBehaviour>();

            if (question != null)
            {
                question.ReadMeSound();
            }

            yield return(Wait.For(0.4f));

            widget.Show(true);
            yield return(Wait.For(1.0f));
        }