Skip to content

Commit 65d831b

Browse files
committed
upd
1 parent 997dca5 commit 65d831b

2 files changed

Lines changed: 4 additions & 40 deletions

File tree

README.md

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
# Save System for Unity
22

3-
### TODO
4-
- [x] Assets References
5-
- [x] AOT support
6-
- [x] Test with Desktop and Mobile builds. Mono and IL2CPP. (Finally managed to get my hands on this branch again. Testing a few things for now. I'll release this branch in 2023 Q1)
7-
8-
93
## Features
104
- Can save pretty much everything (Vector, Quaternion, Array, List, Class, Struct, etc)
115
- Can save assets references
126
- Easy to use
137
- Fast in terms of performance. Even simple int saving way more faster than ```PlayerPrefs.SetInt()```. Performance test at the end of README
14-
- Save files are encrypted
8+
- Automatic save file backup
159
- Extensible
1610

1711
## How to Install
@@ -92,37 +86,7 @@ public class Player : MonoBehaviour
9286

9387
### AOT platforms
9488

95-
[See](https://github.com/neuecc/MessagePack-CSharp#aot-code-generation-support-for-unityxamarin)
96-
97-
```csharp
98-
using MessagePack;
99-
using MessagePack.Resolvers;
100-
using MessagePack.Unity;
101-
using MessagePack.Unity.Extension;
102-
using Serializer;
103-
using ToolBox.Serialization;
104-
using UnityEngine;
105-
106-
public static class MessagePackStartup
107-
{
108-
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
109-
private static void Setup()
110-
{
111-
StaticCompositeResolver.Instance.Register(
112-
GeneratedResolver.Instance,
113-
UnityBlitResolver.Instance,
114-
UnityResolver.Instance,
115-
StandardResolver.Instance,
116-
DataSerializerResolver.Instance
117-
);
118-
119-
var options = ContractlessStandardResolverAllowPrivate.Options.WithResolver(StaticCompositeResolver.Instance);
120-
121-
DataSerializer.Options = options;
122-
MessagePackSerializer.DefaultOptions = options;
123-
}
124-
}
125-
```
89+
You don’t need to do anything for it to work with AOT/IL2CPP, but if any issues come up, check this out: [AOT code generation support for Unity/Xamarin](https://github.com/neuecc/MessagePack-CSharp#aot-code-generation-support-for-unityxamarin)
12690

12791
## Performance test
12892

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "com.intothedev.savesystem",
3-
"version": "2.0.0",
3+
"version": "1.1.0",
44
"displayName": "Save System",
5-
"description": "Save System with Odin Serializer.",
5+
"description": "Save System with MessagePack.",
66
"author": {
77
"name": "IntoTheDev",
88
"email": "indraayy322@gmail.com",

0 commit comments

Comments
 (0)