playMaker

Author Topic: saving data on iOS  (Read 3218 times)

nepomuk

  • Playmaker Newbie
  • *
  • Posts: 32
saving data on iOS
« on: June 13, 2014, 01:22:01 PM »
what's the best way to keep variables stored on the iphone?
for example i'd like to keep the players highscore stored in the app (not the game center) even if the app is closed?!

Sp00m

  • Playmaker Newbie
  • *
  • Posts: 5
Re: saving data on iOS
« Reply #1 on: July 18, 2014, 12:23:54 AM »
I could be wrong, but I think it's in a Player Prefs Action like "PlayerPrefs Set Int".

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: saving data on iOS
« Reply #2 on: July 18, 2014, 12:52:26 AM »
As Sp00m said, PlayerPrefs are the easiest way.