Bugfix
Small bug prevented text from showing without sound
This commit is contained in:
parent
9f9dedba98
commit
505584b91e
3 changed files with 4 additions and 5 deletions
|
@ -28,12 +28,11 @@ namespace SimpleTools.DialogueSystem {
|
|||
}
|
||||
|
||||
public bool Dialogue(Dialogue dialogue) {
|
||||
return Dialogue(dialogue, "");
|
||||
return Dialogue(dialogue, string.Empty);
|
||||
}
|
||||
|
||||
public bool Dialogue(Dialogue dialogue, params string[] sounds) {
|
||||
if (sounds != null)
|
||||
dialogueVertexAnimator.SetAudioSourceGroup(sounds);
|
||||
dialogueVertexAnimator.SetAudioSourceGroup(sounds);
|
||||
|
||||
if (!talking) {
|
||||
sentences.Clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue