Added in-dialogue sounds
This commit is contained in:
parent
1fde00e811
commit
10cccc9b70
4 changed files with 24 additions and 5 deletions
|
@ -134,6 +134,9 @@ namespace SimpleTools.DialogueSystem {
|
|||
case DialogueCommandType.TextSpeedChange:
|
||||
secondsPerCharacter = 1f / command.floatValue;
|
||||
break;
|
||||
case DialogueCommandType.Sound:
|
||||
AudioManager.AudioManager.instance.PlayOneShot(command.stringValue);
|
||||
break;
|
||||
}
|
||||
commands.RemoveAt(i);
|
||||
i--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue