Skip to content

Commit c6ba4bc

Browse files
authored
Update README.md
1 parent cd98c24 commit c6ba4bc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@
1717
</p>
1818

1919
## What
20+
21+
```mermaid
22+
flowchart LR
23+
Unity.Serialization{Unity.Serialization} --> W(Write) & R(Read)
24+
click Unity.Serialization "https://docs.unity3d.com/Packages/[email protected]/manual/index.html" _blank
25+
Data[("Data <br> Profile 0<br>.<br>.<br>.<br> Profile N <br> Dictionary&lt;string,byte[]>")] --> |Default use profile 0| ChangeProfile(ChangeProfile)
26+
Data --> |Auto save on Application pause or quit| SaveToFile(SaveToFile)--> Unity.Serialization
27+
Data --> |Auto load when startup| LoadFromFile(LoadFromFile)--> Unity.Serialization
28+
Data --> Get(Get&lt;T>) & Set(Set&lt;T>) & DeleteKey(DeleteKey) & HasKey(HasKey) & DeleteAll(DeleteAll)
29+
File{{File Data}} --- W & R
30+
```
31+
2032
- System data for game unity (Unity 2022.3)
2133
- Using [Unity.Serialization](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) to serialize binary data
2234
- Data allows you to store data in byte[] form in blocks called profiles. Each profile is a Dictionary with the key as a string and the value

0 commit comments

Comments
 (0)