Book open/close audio
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user