|
DataSmith 0.1.2
|

Serializable Math Formula System for Unity
DataSmith is an attribute-driven data modeling framework for Unity that automatically generates strongly-typed models and fluent query APIs.
It delivers an ORM-like developer experience for in-memory gameplay data, enabling scalable, maintainable systems without boilerplate or runtime reflection.
• Attribute-driven model definitions
• Automatic code generation (Models + Queries)
• Strongly-typed accessors and events
• Fluent, lazy query system
• ORM-like developer experience
• Centralized data architecture
• Zero runtime reflection
• Designer-friendly workflow
• Scales to large projects
Managing gameplay data in Unity often leads to:
❌ Boilerplate getters/setters
❌ Scattered data access logic
❌ Fragile string-based queries
❌ Hard-to-maintain systems
❌ Overuse of ScriptableObjects
DataSmith solves this by turning plain C# classes into full data systems automatically.
Define your data once:
Generate models with the editor tool:
DataSmith creates:
Unity will install the package automatically.
Clone the repository:
Copy the runtime folder into your Unity project:
Unity will compile the scripts automatically.
Full documentation is available here:
https://arijeetbaruah.github.io/DataSmith/
Getting started guide:
https://arijeetbaruah.github.io/DataSmith/getting_started.html
Access data safely:
csharp [GameModel(ModelValueType.List)] public class EnemyData { ... }
csharp [GameModel(ModelValueType.Single)] public class PlayerStats { ... }
Tools → Game Model Generator
CONTRIBUTING.md ```
before submitting a pull request.
Pull requests should follow the repository template.
Thanks to all contributors who help improve this project.
This project is licensed under the MIT License.
If you find this project useful: