浏览代码

[拆解关闭后播放问题修复]

CHIVA\bj 4 月之前
父节点
当前提交
64218d5a85

+ 0 - 1
ModeDisplay/Assets/Scripts/AudioHelper.cs

@@ -162,7 +162,6 @@ public class AudioHelper
     {
         // 合并完整路径信息
         string audioPath = PathHelper.CombineFilePath(PathHelper.m_ReadOnlyPath, _folderName, _audioName + ".mp3");
-
         // 判断文件是否存在
         if (File.Exists(audioPath))
         {

+ 2 - 1
ModeDisplay/Assets/Scripts/UI/QFramework/AutoDisassemblyPanel.cs

@@ -109,7 +109,8 @@ namespace QFramework
             Destroy(partListPanel.CurrentAutoDisassemblyObj);
 
             DeviceController.instance.gameObject.SetActive(true);
-
+            //¹Ø±Õʱ¼äËø¶¨
+            Time.timeScale = 1;
             CloseSelf();
         }
 

+ 1 - 0
ModeDisplay/Assets/Scripts/UI/QFramework/PartListPanel.cs

@@ -102,6 +102,7 @@ namespace QFramework
         /// </summary>
         public void OnExpandBtnClick()
         {
+            Debug.Log("click" + m_Expand);
             m_Expand = !m_Expand;
 
             if (m_Expand)

+ 8 - 0
ModeDisplay/Assets/StreamingAssets/AssetBundles.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: e0e66e7a14846604d91e2c0fa740482b
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: