[Released] Player Pref Anything

One of the most common questions I encountered with new unity devs, was how and where to save things. Most of their cases didn’t warrant a large and complex save system, but were also a bit too complicated for the regular Unity PlayerPrefs. Player Pref Anything is intended to bridge that gap, and be a quick drop in replacement for PlayerPrefs. Player Pref Anything also includes a replaceable back-end controller, which allows for more complicated use cases, meaning Player Pref Anything can scale with your small to medium projects.

Key Features

  • Save Anything*

  • Similar API to UnityEngine.PlayerPrefs (Including a drop-in replacement API)

  • In-Editor Pref management / modification.

  • Inspector Get & Set buttons. Share prefs between classes.

  • Replaceable Storage & Loading - Allows for saving externally / in the cloud.

  • Encrypt / Decrypt support. Use whatever method you want.

  • Prefs are stored as binary or JSON on the disk, rather than in the Registry / other platform specific files

  • Loaded prefs are saved in memory, allowing for speedy access.

  • Fully documented, with guides / tutorials actively being worked on.

  • Source included.

  • Much faster than UnityEngine.PlayerPrefs, up to 1000% faster in some cases.

  • Uses Odin Serializer for serialization.

Current Version: 1.2

Links
Asset Store
Discord
Documentation / Manual
API Reference
Quick Reference
Odin Serializer

Videos
Currently in progress. If you have something you’d like to see, let me know!

Submitted an update for v1.1. Re-worked the editor to use default editor styles since 2019.3 is redoing the default UI a bit.
Here’s a little before and after.

Should be a bit smoother to use, and internally a lot easier for me to maintain in the future.

1.2 further improved the pref editor (re)adding search, and quick command buttons along the top. Submitted to the asset store and should be out in a few days.

1.2 also adds Prefs.GetEntireGameObject and Prefs.SetEntireGameObject to get / set an entire game object including child objects.