View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.1
- Last updated
- First released
- Unity version
- 6000.2.11 or later
- Package size
- 35 KB
- Files
- 6
- Favorites
- 4
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Loveable Saves – Decorator-based Save System
Ergonomically save and load object data using the Decorator Pattern. No jumping through hoops, it's all taken care of.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 4
Loveable Saves – Decorator-based Save System screenshot 1
About this asset
Ever wanted to just tell your game to save whatever you need from an object in your game? A player's name, killcount or whatever else?
Never liked having to jump through hoops to simply store some data, and load it up?
That's exactly what Loveable Saves seeks to accomplish!
Using the [Saveable] Decorator to identify which fields to save, Loveable Saves automatically detects what type and content said fields contain, to neatly format them into a JSON file.
Which also includes inherited fields marked by the [Saveable] Decorator in a parent class.
Once all desired fields have been marked, all it takes is a simple call to Saveable.Save() with an object, and an optional path, to save it up!
Then, all you need to do is call Saveable.Load(), with an object and its save file, to restore them, whenever you want!
Due to compability concerns,
Types inherent to an engine, such as Vector3 in Unity, may require a serialization/deserialization implementation to be added via Saveable.Implementation.Set() in LoveableSaves.Types.Set().
This package comes with a default implementation for Unity's Vector3 and Vector2, please consult the Documentation for further information.
From the publisher's Asset Store listing.
Technical details
- Requires Json.NET.
- Compatible with ALL platforms.
- Compatible with ANY C# application.
- Can support EVERY data you can imagine.
- Open-Source.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.2.11f1 | Compatible | Compatible | Compatible | Compatible |
Requires Json.NET.
As listed on the Asset Store.