コード例 #1
0
        public static JSONNode LoadMockJSON(string path)
        {
            TextAsset text = BaseUtils.LoadResource(BasePath.GetJSONPath(path)) as TextAsset;
            var       data = JSONNode.Parse(text.text);

            return(data);
        }
コード例 #2
0
        public static JSONNode LoadJSONResource(string path)
        {
            TextAsset text = BaseUtils.LoadResource(path) as TextAsset;
            var       data = JSONNode.Parse(text.text);

            return(data);
        }