当前位置:网站首页>BinaryFormatter saving and loading game data for unity

BinaryFormatter saving and loading game data for unity

2022-06-22 06:01:00 Vigilance and encouragement

/

C# in Of BinaryFormatter class Execute binary data “ serialize ” and “ Deserialization ” operation . It uses a simple data structure , For example, integers ( int )、 Decimal number ( float ) And a collection of letters and numbers ( string ), And they can be converted to binary format . This means a more complex structure ( Such as class ) Its fields can be encoded in binary format , To save to a file , Then read by the program . stay Unity in , By using this C# class , Can save data , For example, you can use Playe

原网站

版权声明
本文为[Vigilance and encouragement]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220534366897.html