lvjincheng 3 жил өмнө
parent
commit
033cc85f58

+ 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初始语言