原文内容来自:Read from and write to external .json files using JsonUtilities or LitJson
文件Unity 版本号5.3,使用时候Unity 版本号5.6
本文仅作分析,学习用途。
_2ReadJson_LitJson
----------------------------------------------------------------------------------------------原代码+注释
// Read JSON File and transform the string to objects
// using LitJson
using UnityEngine;
using System.Collections;
using System.IO;
using LitJson;
using System.Collections.Generic;
public class _2ReadJson_LitJson : MonoBehaviour {
void Start () {
/**
* 1. Fetch JSON-formatted stri