Advertisement

Unity+JsonUtility的multi-object I/O operations(2)

阅读量:

Update and retrieve data from stored or saved .json files using JsonUtilities or LitJson. Check the GitHub repository for more details.

文件Unity 版本号5.3,使用时候Unity 版本号5.6

文件分流 unity-json-master

本文仅作分析,学习用途。

类似下面这样,//* 这样的表示和 LitJson 对应 的代码 相同。

//* 的 分数 +1

通过注释来区别 。主要用于 表示 在 代码中 可以 改变 的数据。

someList.Add (createSubObject ("Amazing Angus6", 64546));

原代码,无注释。

someList.Add (createSubObject ("Amazing Angus", 6454));

_2ReadJson_JsonUtility
----------------------------------------------------------------------------------------------原代码+注释

// Parse JSON File to convert the stri

全部评论 (0)

还没有任何评论哟~