Simple Save System for Unity

The Simple Save System asset provides a robust and flexible saving system for Unity game developers. It offers both synchronous and asynchronous saving options to meet the needs of different use cases. With synchronous saving, developers can easily save game data in real time without having to worry about delays or other performance issues.

In addition to these two saving options, the asset also supports JSON, image, and text saving. This gives developers a lot of flexibility, as they can choose the most appropriate format for their data. JSON is popular for structured data, while images and text are useful for saving media files and other unstructured data.

The asset's path utility provides a convenient way for developers to manage file paths in their projects. This can be particularly useful when working with large and complex projects, as it helps to keep everything organized and easy to access.

The asset's caching unit is another big advantage for developers. It comes with binary and string serializers, which can be used to create a custom caching system. This provides much flexibility, as developers can choose the best serializer for their specific use case.

Furthermore, the Simple Save System asset also supports AES encryption, allowing developers to secure their saved data. AES encryption is a widely-used and strong encryption algorithm that ensures the confidentiality and integrity of the saved data.

Overall, the Simple Save System asset offers a powerful and versatile set of features that can help Unity game developers save time and improve their workflow.

Getting started:

After importing Simple Save System from the Asset Store, you can immediately use it in your scripts without any additional setup.

Basic saving and loading:

Each Unit have asynchronous and synchronous saving and loading. To save data with the concrete Unit you need to call Serialize/SerializeAsync and for data load DeserializeAsync/Deserialize methods.

Implemented load units:

  • ImagesCacheUnit for Images(Textures2D)
  • JsonCacheUnit for any object
  • TextCacheUnit for text(.txt) files

NOTE: you are free to make your custom unit

Serializers:

By default, there are two serializers (StringSerializer, BinarySerializer) and one base BaseSerializer. You are also free to implement your custom serializers based on our BaseSerializer. To do that you just need to inherit from BaseSerializer and implement your custom functionality.

Path Config:

Path config is a utility to provide easy access to the directory. You can get a path by file name by calling GetFilePath(string fileName) method. It also has a BasePath property which creates a directory when you are trying to refer to that property. You can use this separately from other functionality.

AES Encryption:

Simple Save System also provides AES encryption support through the AesEncryptionProvider class. This class implements the IEncryptionProvider interface and offers methods for encrypting and decrypting data using AES. AES (Advanced Encryption Standard) is a widely-used encryption algorithm known for its security and reliability. To use encryption for your data saving you just need to pass AesEncryptionProvider instance to CacheUnit. You can also use AesEncryptionProvider separately.

Logs:

We have implemented functionality to log information about saved and loaded files in the console but you can remove that functionality with the "DISABLE_LOG" define symbol.

Assembly Definition:

Simple Save System has a separate assembly definition so you can use it in your modules.

Error Handling:

It is recommended that you handle errors. This can be performed using a try/catch block to catch exceptions and display an appropriate message to the user when necessary.

Simple Save System for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Simple Key Rebind System for Unity

Simple Key Rebind System for Unity Thumbnail

Simple Input System for Unity

Simple Input System for Unity Thumbnail

Simple Dialogue System for Unity

Simple Dialogue System for Unity Thumbnail

Simple Dialogue System for Unity

Simple Dialogue System for Unity Thumbnail

Electric Wire System for Unity

Electric Wire System for Unity Thumbnail

Waypoint Marker System for Unity

Waypoint Marker System for Unity Thumbnail