View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2020.3.1 or later
- Package size
- 160 KB
- Files
- 30
- Favorites
- 3
- Views in the past week
- 10
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Loader Object
A small package that facilitates development by implementing Scriptable Objects as a quick method to save and load various types of Data from a JSON file.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
Loader Object screenshot 1
About this asset
A full walkthrough of the Package can be found in the Documentation.
A compact yet effective package that can assist you in writing quick and optimal code to save various types of Data (Game Settings, Player Settings, Audio Settings, Post-Processing Settings, etc.) into a single JSON file, and load them at Runtime.
What are some benefits:
ㅤㅤㅤㅤ1. Decoupling logic code from loading & saving code.
ㅤㅤㅤㅤ2. Performance improvement. (LoaderObjectData stores the Data so no file reading is required on scenes loads)
ㅤㅤㅤㅤ3. Players can modify the JSON files themselves very easily.
ㅤㅤㅤㅤ4. Preview the loaded Data in the Inspector thru the LoaderObjectData Scriptable Object. (+ removing it with a button press)
ㅤㅤㅤㅤ5. All Serializable Types can be used. (custom classes & structs, floats, bools, etc.)
How to use this Package:
ㅤㅤㅤㅤ1. Create a class that inherits from LoaderObjectData<TData, TValue>
ㅤㅤㅤㅤ2. Create a class that inherits from LoaderMono<TObject, TData>
ㅤㅤㅤㅤ3. Call PassData() function in the LoaderMono
ㅤㅤㅤㅤ4. Implement saving and loading in the LoaderObjectData
ㅤㅤㅤㅤ5. Create the LoaderObjectData in Unity
ㅤㅤㅤㅤ6. Attach the LoaderMono script on a GameObject and assign the LoaderObjectData
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤSupport | Discord | Mail: [email protected]
From the publisher's Asset Store listing.
Technical details
This package contains:
- Seven Example Scripts that implement the Package
- Saving to Human Readable JSON files
- Reading from a generated JSON file
- Managing how the Data is saved into the JSON file
- Loading the Data at Runtime
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.1f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.