|
|
@@ -84,16 +84,17 @@ public class UIMainModel : UIBase |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if (IAPManager.Instance.IsSubscribed()) |
|
|
|
{ |
|
|
|
IsPlaying = true; |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
int freeNum= PlayerPrefs.GetInt("FreeNum_" + GameData.Instance.appleUserId, 3); |
|
|
|
SubDetailsText.text = $"<color=#1e92ff>{freeNum} free trals available and all types</color> of products can be used after subscription"; |
|
|
|
dingyueBg.SetActive(true); |
|
|
|
} |
|
|
|
IsPlaying = true; |
|
|
|
//if (IAPManager.Instance.IsSubscribed()) |
|
|
|
//{ |
|
|
|
// IsPlaying = true; |
|
|
|
//} |
|
|
|
//else |
|
|
|
//{ |
|
|
|
// int freeNum= PlayerPrefs.GetInt("FreeNum_" + GameData.Instance.appleUserId, 3); |
|
|
|
// SubDetailsText.text = $"<color=#1e92ff>{freeNum} free trals available and all types</color> of products can be used after subscription"; |
|
|
|
// dingyueBg.SetActive(true); |
|
|
|
//} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|