Advanced Save Manager: Multi-Type Support for PlayerPrefs & EditorPrefs
The_9an
$0.0
$4.99
100%OFF
(no ratings)
Date |
Price |
---|---|
Date |
Price($) |
11/16(2020) |
4.99 |
11/19(2024) |
0.0 |
11/21(2024) |
0.0 |
Jump AssetStore
Effortlessly manage PlayerPrefs and EditorPrefs with support for multiple data types!Advanced Save Manager provides an intuitive solution for saving and retrieving various data types to and from PlayerPrefs or EditorPrefs. Customize your saving experience by adding support for new data types seamlessly.Features include:Save and retrieve data across supported types with ease.Switch between PlayerPrefs and EditorPrefs for your storage needs.Enable EditorPrefs functionality by simply defining USE_EDITOR_PREFS in Scripting Define Symbols.Designed for simplicity and extensibility to meet your custom requirements.Make your data management smarter with Advanced Save Manager!OVERVIEWExtra Types:DateTimeDictionaryEnumListColorlongJsonVector3BooletcExample with Bool Type// Create a BoolPrefs instanceIPrefs boolPrefs = new BoolPrefs(string key, bool defaultValue);Methods:GetValue()Retrieves the value associated with the given key from the preferences file.If the key does not exist, it returns the defaultValue.bool value = boolPrefs.GetValue();2. SetValue(bool value)Saves a new value for the preference identified by the key.boolPrefs.SetValue(true);3. Reset()Removes the current value associated with the key and resets it to the defaultValue.boolPrefs.Reset();4. DeleteKey()Deletes the key assigned to this preference from PlayerPrefs.boolPrefs.DeleteKey();5. Save()Writes all modified preferences to disk.This ensures any changes made are saved persistently.MultipleTypesPlayerPrefs.Save();This example demonstrates how to use BoolPrefs effectively with key operations like retrieving, setting, resetting, and deleting preferences.