Book open/close audio

This commit is contained in:
journaliciouz
2025-11-19 23:51:03 +01:00
parent b2c61125ef
commit dcb082bc4a
8 changed files with 114 additions and 0 deletions

View File

@@ -223,6 +223,9 @@ namespace UI.CardSystem
else
{
// Already on page 0 or no book reference, exit
// Play book closing sound
AudioManager.Instance.LoadAndPlayUIAudio("book_open", false);
// Restore input mode before popping
if (Input.InputManager.Instance != null)
{
@@ -292,6 +295,9 @@ namespace UI.CardSystem
}
base.TransitionIn();
// Play book open audio
AudioManager.Instance.LoadAndPlayUIAudio("book_open", false);
}
public override void TransitionOut()