|
1 |
| -<h1 align="center">Welcome to com.gameframe.saveload 👋</h1> |
2 |
| -<p> |
3 |
| - <img alt="Version" src="https://img.shields.io/badge/version-1.0.1-blue.svg?cacheSeconds=2592000" /> |
4 |
| - <a href="https://twitter.com/coryleach"> |
5 |
| - <img alt="Twitter: coryleach" src="https://img.shields.io/twitter/follow/coryleach.svg?style=social" target="_blank" /> |
6 |
| - </a> |
7 |
| -</p> |
8 |
| - |
9 |
| -> This is a simple utility for quickly saving and loading objects to disk in unity.</br></br> |
10 |
| -> Supports Binary, UnityJson, and JsonDotNet.</br> |
11 |
| -> Optionally you can select an encrypted version of each of the above.</br> |
12 |
| -> Additionally custom serialization methods are supported using the ISerializationMethod interface.</br> |
13 |
| -> JsonDotNet support requires the Json.Net for Unity asset store package or Newtonsoft's Json.</br> |
14 |
| -> For info on enabling JsonDotNet support see the <b>Enable Json.Net Support</b> section of this readme.</br> |
| 1 | +<h1 align="center">Gameframe.SaveLoad 👋</h1> |
| 2 | + |
| 3 | +<!-- BADGE-START --> |
| 4 | +[](https://www.codacy.com/manual/coryleach/UnitySaveLoad?utm_source=github.com&utm_medium=referral&utm_content=coryleach/UnitySaveLoad&utm_campaign=Badge_Grade) |
| 5 | + |
| 6 | +[](https://github.com/coryleach/UnitySaveLoad/blob/master/LICENSE) |
| 7 | + |
| 8 | +[](https://twitter.com/coryleach) |
| 9 | +<!-- BADGE-END --> |
| 10 | + |
| 11 | +Serialization helper utility that supports save, load and encryption. |
15 | 12 |
|
16 | 13 | ## Quick Package Install
|
17 | 14 |
|
18 | 15 | #### Using UnityPackageManager (for Unity 2019.3 or later)
|
19 | 16 | Open the package manager window (menu: Window > Package Manager)<br/>
|
20 | 17 | Select "Add package from git URL...", fill in the pop-up with the following link:<br/>
|
21 |
| -https://github.com/coryleach/UnitySaveLoad.git#1.0.1<br/> |
| 18 | +https://github.com/coryleach/UnitySaveLoad.git#1.0.2<br/> |
22 | 19 |
|
23 | 20 | #### Using UnityPackageManager (for Unity 2019.1 or later)
|
24 | 21 |
|
25 | 22 | Find the manifest.json file in the Packages folder of your project and edit it to look like this:
|
26 | 23 | ```js
|
27 | 24 | {
|
28 | 25 | "dependencies": {
|
29 |
| - "com.gameframe.saveload": "https://github.com/coryleach/UnitySaveLoad.git#1.0.1", |
| 26 | + "com.gameframe.saveload": "https://github.com/coryleach/UnitySaveLoad.git#1.0.2", |
30 | 27 | ...
|
31 | 28 | },
|
32 | 29 | }
|
33 | 30 | ```
|
34 | 31 |
|
| 32 | +<!-- DOC-START --> |
| 33 | +<!-- |
| 34 | +Changes between 'DOC START' and 'DOC END' will not be modified by readme update scripts |
| 35 | +--> |
| 36 | + |
35 | 37 | ## Usage
|
36 | 38 |
|
37 | 39 | SaveLoadManager is not a singleton. Multiple instances may be used and created.<br />
|
@@ -73,16 +75,19 @@ manager.LoadUnityObjectOverwrite(myScriptableObject,"MyUnityObjectData.data");
|
73 | 75 | Ensure the Json.Net for Unity package has been imported.</br>
|
74 | 76 | In player settings add the string 'JSON_DOT_NET' to Scripting Define Symbols.
|
75 | 77 |
|
| 78 | +<!-- DOC-END --> |
| 79 | + |
76 | 80 | ## Author
|
77 | 81 |
|
78 | 82 | 👤 **Cory Leach**
|
79 | 83 |
|
80 | 84 | * Twitter: [@coryleach](https://twitter.com/coryleach)
|
81 | 85 | * Github: [@coryleach](https://github.com/coryleach)
|
82 | 86 |
|
| 87 | + |
83 | 88 | ## Show your support
|
84 | 89 |
|
85 | 90 | Give a ⭐️ if this project helped you!
|
86 | 91 |
|
87 | 92 | ***
|
88 |
| -_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_ |
| 93 | +_This README was generated with ❤️ by [Gameframe.Packages](https://github.com/coryleach/unitypackages)_ |
0 commit comments