瀏覽代碼

屏蔽震动

wuyu 1 年之前
父節點
當前提交
ce57c261b3
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Assets/PaperFold/Scripts/Paper.cs

+ 3 - 3
Assets/PaperFold/Scripts/Paper.cs

@@ -117,7 +117,7 @@ public class Paper : MonoBehaviour
         //StartCoroutine("FoldingCoroutine");
         currentFolding.SetFoldedState(true);
 
-        Taptic.Light();
+        // Taptic.Light();震动
         onPaperEvolving?.Invoke();
     }
 
@@ -178,7 +178,7 @@ public class Paper : MonoBehaviour
             if (folding == currentFolding)
             {
                 //Unfold();
-                Taptic.Light();
+                // Taptic.Light();震动
                 onPaperEvolving?.Invoke();
 
                 yield return StartCoroutine(FoldCoroutine(false));
@@ -193,7 +193,7 @@ public class Paper : MonoBehaviour
             {
                 currentFolding = folding;
 
-                Taptic.Light();
+                // Taptic.Light();震动
                 onPaperEvolving?.Invoke();
 
                 yield return StartCoroutine(FoldCoroutine(false));