Skip to content

A classlibrary based on litjson for UnityEditor that generate a data class by a .json file

Notifications You must be signed in to change notification settings

kuakexing/GenerateClassByJson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenerateClassByJson

本工具基于Litjson开发,所以只支持Litjson支持的json文本格式,使用方法:
1.将release里的两个dll导入unity项目中,可自己生成也可以直接下载,在项目StreammingAssets文件夹下放入自己的json文件命名为source.json
2.编辑器编译后会在菜单上生成Tools按钮,点击Tools->GenerateJsonClass即可根据json自动生成数据类脚本文件,输出路径为StreammingAssets\GenerateClass.cs
有问题请联系:kuakexing@outlook.com

About

A classlibrary based on litjson for UnityEditor that generate a data class by a .json file

Topics

Resources

Stars

Watchers

Forks

Languages