摘要: 第一行属性名字,第二行 类型。 对于自定义类型需要在 TypeSetValue<T> 添加对应类型的转换。 tableIndex 指的是Excal下图表的索引。 //读取Excal public static List<T> ReadExcal<T>(string path,int tableInd 阅读全文
posted @ 2021-01-30 17:09 wsfw 阅读(77) 评论(0) 推荐(0) 编辑
摘要: Excal格式要求 第一行是类型名 第二行是类型 例如: string name; string是类型,name是类型名。 具体代码 [MenuItem("Tools/ExcalToModel.cs")] public static void GenerationModel() { string s 阅读全文
posted @ 2021-01-30 15:18 wsfw 阅读(184) 评论(0) 推荐(0) 编辑