FMOD调通

This commit is contained in:
2025-03-08 12:07:35 +08:00
parent dad6c087fd
commit 0dc74815ce
405 changed files with 99 additions and 5092 deletions
+3 -3
View File
@@ -31,7 +31,7 @@ public class WindowManager : MonoBehaviour
[YarnCommand("OpenSingleButtonWindow")]
public IEnumerator OpenSingleButtonWindow(string title, string description, bool ispanelActive = true)
{
FmodManager.Instance.PlaySfx("event:/Scriptal/Ui");
AudioManager.Instance.PlaySfx("event:/Scriptal/Ui");
bool isConfirmed = false;
singleButtonWindowPrefab.transform.GetChild(0).gameObject.SetActive(ispanelActive);
@@ -50,7 +50,7 @@ public class WindowManager : MonoBehaviour
[YarnCommand("OpenMutiSingleButtonWindow")]
public IEnumerator OpenMutiSingleButtonWindow(string title, string description, int number)
{
FmodManager.Instance.PlaySfx("event:/Scriptal/Ui");
AudioManager.Instance.PlaySfx("event:/Scriptal/Ui");
bool isConfirmed = false;
singleButtonWindowPrefab.transform.GetChild(0).gameObject.SetActive(false);
@@ -69,7 +69,7 @@ public class WindowManager : MonoBehaviour
[YarnCommand("OpenProgressWindow")]
public IEnumerator OpenProgressWindow(string title, string description, float duration)
{
FmodManager.Instance.PlaySfx("event:/Scriptal/Ui");
AudioManager.Instance.PlaySfx("event:/Scriptal/Ui");
progressWindowPrefab.TitleValue = title;
progressWindowPrefab.DescriptionValue = description;
float currentProgress = 0;