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