高级的 CSV 引擎
高级的 CSV 引擎 是 CSV 用户的最终解决方案。它为您提供 pro 功能包括 类映射、 类型转换、 自定义类型转换器执行,文件编码转换 和 向 C# 类生成 CSV。所有你需要做的是要映射的数据类 (数据结构的 行),然后写一个单一的代码行,你得到正确的数据从目标 CSV 文件。没有比这更烦人的循环解析和类型转换。
支持以下系统类型:
bool, byte, char, DateTime, decimal, double, short, int, long, sbyte, float, string, ushort, uint, ulong, enum
已经实施以下先进的类型 (自定义转换器):
.NET types: Array(T[]), List, Dictionary<TKey, TValue>
Unity types: Color, Rect, Vector2, Vector3, Texture2D(from Base64String)
Column mapping supports public/private/protected/internal field & property and readonly field
Both column index(zero based) and key name(string) mapping are supported
Support assigning custom converters to ignore default converters
Support skipping rows(e.g. description data) in CSV file
Generic type supported. Custom generic converter creating is supported
Text file encoding format converting is supported
Generating c# class file form CSV is supported(beta)
Converting Texture2D file to Base64String is supported
https://www.assetstore.unity3d.com/en/#!/content/44117
https://www.assetstore.unity3d.com/en/#!/content/40738