From 58cb0692ed67a4108b51e31b765db4c3483e3df7 Mon Sep 17 00:00:00 2001
From: wangguan <wangguan@kt007.com>
Date: Fri, 11 Dec 2020 21:42:55 +0800
Subject: [PATCH] 新手引导开宝箱音效

---
 Assets/Scripts/Guide/GuideBox.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Assets/Scripts/Guide/GuideBox.cs b/Assets/Scripts/Guide/GuideBox.cs
index a41fdc4..9d9523d 100644
--- a/Assets/Scripts/Guide/GuideBox.cs
+++ b/Assets/Scripts/Guide/GuideBox.cs
@@ -96,6 +96,7 @@
             {
                 Water();
             }
+            AudioSourceManager.Ins.Play(AudioEnum.GuideOpenBox);
         }
     }
 
@@ -149,7 +150,7 @@
     {
         if (callBack != null)
         {
-            bgBtn.interactable=false;
+            bgBtn.interactable = false;
             if (tmpPS != null) tmpPS.SetActive(false);
             //if (tmpObj != null) tmpObj.SetActive(false);
             images.SetActive(false);

--
Gitblit v1.9.1