mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 05:25:54 +00:00
Dialogue sound effects
This commit is contained in:
parent
39ff2e8a99
commit
57b393fdcf
19 changed files with 170 additions and 10 deletions
|
|
@ -53,6 +53,9 @@ public partial class DialogueStarter : ChainActivable
|
|||
DialogueEndAction();
|
||||
return true;
|
||||
}
|
||||
|
||||
Hud.Instance?.HideHud();
|
||||
|
||||
_dialogic.Connect("timeline_ended", Callable.From(OnTimelineEnded));
|
||||
|
||||
var dialogicNode = _dialogic.Call("start", _trackName);
|
||||
|
|
@ -69,6 +72,7 @@ public partial class DialogueStarter : ChainActivable
|
|||
private void DialogueEndAction()
|
||||
{
|
||||
_dialogueActive = false;
|
||||
Hud.Instance?.HideHud();
|
||||
_gameManager.ChangeState(GameState.Playing);
|
||||
ActivateTargets();
|
||||
// foreach (var activationTarget in _dialogueEndActivationTargets)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue