@@ -14,6 +14,7 @@ public class CommonConfig
{
get => AppLanguages[Array.IndexOf(AppNames, Application.productName)];
}
+ public static bool iosTaoKe = false; //IOS套壳开关
public static bool ReleaseVersion2 = true;
/*
特定版本功能
@@ -11,7 +11,7 @@ public class Entry : MonoBehaviour
void Awake()
#if UNITY_IOS
- if (PlayerPrefs.GetInt("CanGoToApp", 0) == 0)
+ if (CommonConfig.iosTaoKe && PlayerPrefs.GetInt("CanGoToApp", 0) == 0)
Destroy(gameObject);
SceneManager.LoadScene("HeartRateBand");