Unity&JSONMultiObjectReadWrite
发布时间
阅读量:
阅读量
Access and manipulate external .json files using supporting utilities such as JsonUtilities or LitJson.
文件Unity 版本号5.3,使用时候Unity 版本号5.6
本文仅作分析,学习用途。
_2ReadJson_LitJson
----------------------------------------------------------------------------------------------原代码+注释
// Read JSON File and transform the string to objects
// using LitJson
基于Unity引擎开发
集合相关的功能
文件和输入/输出
使用JSON解析库
通用集合接口
public class _2ReadJson_LitJson : MonoBehaviour {
void Start () {
/**
-
- Fetch JSON-formatted string from text file
*/
- Fetch JSON-formatted string from text file
// 将字符串变量jsonString赋值为
全部评论 (0)
还没有任何评论哟~
