feat: adds option to sync talking animation finishing with either audio or text; if with text, now finishes when text is done rendering.

This commit is contained in:
Duncan Brown
2022-12-02 20:01:34 -05:00
committed by Julian Murgia
parent f64b59621d
commit 13a600598f
6 changed files with 70 additions and 7 deletions

View File

@@ -112,3 +112,9 @@ func interrupt():
_dialog_player.remove_child(_type_player)
emit_signal("say_finished")
# To be called if voice audio has finished.
func voice_audio_finished():
if _type_player != null:
_type_player.voice_audio_finished()