Ni-Prefs-Fetcher is a tool to get a list of all PlayerPrefs entries for most platforms.
- Unity 2019.3 or later
- Clone this repository or download the source files.
- Copy the
Ni-PlayerPrefsFetcher
folder into your Unity project'sAssets
directory.
- Open Package Manager from Window > Package Manager.
- Click the "+" button > Add package from git URL.
- Enter the following URL:
https://github.com/HoSHIZA/Ni-PlayerPrefsFetcher.git
- Open
manifest.json
. - Add the following line to the file:
"com.ni-games.ni_prefs_fetcher" : "https://github.com/HoSHIZA/Ni-PlayerPrefsFetcher.git"
// Gets all available PlayerPrefs entries on the current platform.
// Returns `null` if not available on the current platform.
var entries = NiPrefsFetcher.Retrieve();
// Checks for availability on the current platform.
var supported = NiPrefsFetcher.IsSupported;
// Alternative check.
var supported = NiPrefsFetcher.CheckSupport();
- Windows (Standalone, Editor)
- Osx (Standalone, Editor)
- Android
- iOS
- WebGL
- Linux
Automatically enabled if Ni-Prefs has been installed via UPM. Otherwise, you need to manually add
NIGAMES_PLAYER_PREFS_INTERGRATION
to Scripting Define Symbols.
This integration allows to retrieve keys and values encrypted with Ni-Prefs.
- Ni-Prefs Integration
This project is licensed under the MIT License.