Case Status
Log In


Home ยป Action Reference»PlayerPrefs Actions
Community Wiki

PlayerPrefs Actions

PlayerPrefs actions let you save and load variables in the game.

Unity natively supports Float, Int, and String values in PlayerPrefs. PlayMaker extends this so you can save any variable in a PlayerPref:

A couple of notes on Load/Save Variable:

  • You cannot save references to Scene Objects in PlayerPrefs!
  • Load/Save Variable actions are a little more expensive than native actions, so when saving Float, Int, or String variables use the Get/Set actions instead.

If you use PlayerPrefs a lot, check out the PlayerPref viewers in the Asset Store:

These viewers let you see exactly what is saved, making it easier to debug save/load features.

See also: Unity PlayerPrefs Docs

Last modified on 9/27/2021 12:34 PM by User.

  • RSS Feed