Privacy Policy Update
Last updated
Was this helpful?
Was this helpful?
PrivacyPolicyUpdateManager.OnPrivacyPolicyShown += () =>
{
Debug.Log("Privacy Policy is shown!");
};PrivacyPolicyUpdateManager.OnPrivacyPolicyDismissed += () =>
{
Debug.Log("Privacy Policy dismissed!");
};[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
private static void InitializeReturningUserState()
{
bool isReturningUser = PlayerPrefs.HasKey("TotalSessions") ||
PlayerPrefs.HasKey("PlayerLevel") ||
PlayerPrefs.HasKey("LastLoginDate");
PrivacyPolicyUpdateManager.SetReturningUser(isReturningUser);
}