lvjincheng 3 년 전
부모
커밋
033cc85f58
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Assets/BowArrow/Scripts/Entry.cs

+ 2 - 0
Assets/BowArrow/Scripts/Entry.cs

@@ -10,12 +10,14 @@ public class Entry : MonoBehaviour
 {
     void Awake()
     {
+        #if UNITY_IOS
         if (PlayerPrefs.GetInt("CanGoToApp", 0) == 0)
         {
             Destroy(gameObject);
             SceneManager.LoadScene("HeartRateBand");
             return;
         }
+        #endif
         GameObject.Find("Canvas").GetComponent<Canvas>().enabled = true;
         GameObject.Find("CanvasLogo").GetComponent<Canvas>().enabled = true;
         //设置新装app初始语言