Exemplo n.º 1
0
 public void PlayInterlude(int index)
 {
     player.targetTexture.Release();
     currentInterlude = index;
     source.clip      = interludeClips[currentInterlude];
     if (gm.subtitles)
     {
         StartCoroutine(subtitleDisplayer.Begin(interludeSubs[currentInterlude]));
     }
     Invoke("TypeStuff", source.clip.length);
     source.Play();
 }
Exemplo n.º 2
0
 // Detiene los subtítulos en ejecución y pone en ejecución los nuevos.
 private void RestartSubtitles()
 {
     StopAllCoroutines();
     StartCoroutine(_subtitleDisplayer.Begin());
 }