Exemplo n.º 1
0
    internal IEnumerator IntroduceObject(AudioContext context, string objectName)
    {
        audioSource.clip = context.GetAudio(objectName);

        animator.Play("TalkingShort");
        yield return(PlayAudioSync(audioSource));
    }
Exemplo n.º 2
0
 internal IEnumerator PlayCheckingPhaseIntroduction(AudioContext context)
 {
     Debug.Log("VA INTRO " + context);
     audioSource.clip = context.GetAudio("yourTurn");
     animator.Play("TalkingShort");
     yield return(PlayAudioSync(audioSource));
 }