Type Resolver System
The core mapping engine that translates string entries from spreadsheet cells into proper C# types.
Native C# and Unity Support
TypeResolver automatically maps and converts values to:
- Primitives:
string,int,float,double,long,bool. - Unity Types:
Vector2,Vector3,Vector4,Color,Rect,Quaternion. - Arrays/Lists: Single-dimensional arrays of primitive types.
- References: Assets dynamically loaded by path or project database queries.
Culture-Invariant Conversions
System-locale regional settings cause parsing errors. For example, if a developer in Germany parses a float, the operating system expects 3,14 rather than 3.14.
DataLoom resolves this by executing all parsing calls with CultureInfo.InvariantCulture. This guarantees that float data parses correctly whether the importing developer is in the US, Germany, France, or Japan.