playMaker

Author Topic: PlayerPrefs Set Int (doubt)  (Read 2576 times)

divertoso

  • Playmaker Newbie
  • *
  • Posts: 15
    • View Profile
PlayerPrefs Set Int (doubt)
« on: April 11, 2013, 06:32:17 PM »
PlayerPrefs Set Int (android)

I save a int variable in celphone -> ok

When i restart my game, i recover a int -> ok

But, when i uninstall the game and build a new version and istall again, the int var still exist (with the last value seted)...

My doubt is: even uninstall the game, this information remains at mobile?

Is possible for me to use PlayerPrefs Delete Key before the user uninstall the application?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3631
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PlayerPrefs Set Int (doubt)
« Reply #1 on: April 11, 2013, 07:26:06 PM »
I don't have personal experience with this, but I did a quick search on the Unity forums and UnityAnswers, and this seems like a tricky topic, with different people seeing different behavior, and different devices acting differently! I would do some digging and push for some answers on existing Unity threads...

EDIT: The search I used:
http://www.google.com/search?q=unity+playerprefs+android+remove+on+uninstall&ie=UTF-8&oe=UTF-8&hl=en
« Last Edit: April 11, 2013, 07:27:54 PM by Alex Chouls »

divertoso

  • Playmaker Newbie
  • *
  • Posts: 15
    • View Profile
Re: PlayerPrefs Set Int (doubt)
« Reply #2 on: April 12, 2013, 05:15:38 AM »
got it

tks alex!