소스 검색

屏蔽震动

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));