Advertisement

Unity&JSONJsonUtility的多对象读写(4)

阅读量:

Access from and manage external .json files using Json Utilities or LitJson.

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

文件分流 unity-json-master

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

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

//* 的 分数 +1

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

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

原代码,无注释。

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

_4Update_ObjectArray_JsonUtility
----------------------------------------------------------------------------------------------原代码+注释

The process involves reading an array containing embedded objects from a text file fo

全部评论 (0)

还没有任何评论哟~