Merge branch 'bug修复' into 'develop'
修复音频错误 See merge request aibis-dream/aibis-dream!162
This commit is contained in:
@@ -27,11 +27,10 @@ public class WindowManager : MonoBehaviour
|
||||
Instance = this;
|
||||
DontDestroyOnLoad(gameObject); // 如果需要全局保留
|
||||
}
|
||||
|
||||
[YarnCommand("OpenSingleButtonWindow")]
|
||||
public IEnumerator OpenSingleButtonWindow(string title, string description, bool ispanelActive = true)
|
||||
{
|
||||
AudioManager.PlayMemoryAudio("ui");
|
||||
AudioManager.PlayInteraction("ui");
|
||||
bool isConfirmed = false;
|
||||
singleButtonWindowPrefab.transform.GetChild(0).gameObject.SetActive(ispanelActive);
|
||||
|
||||
@@ -50,7 +49,7 @@ public class WindowManager : MonoBehaviour
|
||||
[YarnCommand("OpenMutiSingleButtonWindow")]
|
||||
public IEnumerator OpenMutiSingleButtonWindow(string title, string description, int number)
|
||||
{
|
||||
AudioManager.PlayMemoryAudio("ui");
|
||||
AudioManager.PlayInteraction("ui");
|
||||
bool isConfirmed = false;
|
||||
singleButtonWindowPrefab.transform.GetChild(0).gameObject.SetActive(false);
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ public class TaskManager : MonoBehaviour
|
||||
[YarnCommand("task_moveIn")]
|
||||
public void Task_moveIn()
|
||||
{
|
||||
AudioManager.PlayMemoryAudio("task_inout");
|
||||
AudioManager.PlayInteraction("task_inout");
|
||||
pos.DOAnchorPosY(-170f,1f);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ public class TaskManager : MonoBehaviour
|
||||
[YarnCommand("task_moveOut")]
|
||||
public void Task_moveOut()
|
||||
{
|
||||
AudioManager.PlayMemoryAudio("task_inout");
|
||||
AudioManager.PlayInteraction("task_inout");
|
||||
pos.DOAnchorPosY(175,1f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user