FMOD调通
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user