Loader Object is a lightweight package that streamlines data management in Unity. It allows you to save and load data from a single JSON file, making it easy to decouple logic code and improve performance. With this package, you can store and retrieve data such as game settings, player settings, and more. The benefits of using Loader Object include:
- Decoupling logic code from loading and saving code
- Performance improvement by storing data in memory
- Easy modification of JSON files by players
- Previewing loaded data in the Inspector
- Support for all Serializable Types
To use this package, follow these steps:
- Create a class that inherits from LoaderObjectData
- Create a class that inherits from LoaderMono
- Call the PassData() function in the LoaderMono
- Implement saving and loading in the LoaderObjectData
- Create the LoaderObjectData in Unity
- Attach the LoaderMono script to a GameObject and assign the LoaderObjectData
For more information, please refer to the documentation.
This package includes:
- Seven example scripts that demonstrate the package's functionality
- Saving data to human-readable JSON files
- Reading data from a generated JSON file
- Managing data storage in the JSON file
- Loading data at runtime





