Browse Source

Fixed coroutine issue in Say command

master
chrisgregan 9 years ago
parent
commit
a0e3094dd2
  1. 2
      Assets/Fungus/Narrative/Scripts/SayDialog.cs

2
Assets/Fungus/Narrative/Scripts/SayDialog.cs

@ -161,7 +161,7 @@ namespace Fungus
soundEffectClip = speakingCharacter.soundEffect;
}
yield return writer.Write(text, clearPrevious, waitForInput, stopVoiceover, soundEffectClip, onComplete);
yield return StartCoroutine(writer.Write(text, clearPrevious, waitForInput, stopVoiceover, soundEffectClip, onComplete));
}
protected virtual void LateUpdate()

Loading…
Cancel
Save