Repository navigation
Home
github-actions[bot] edited this page Dec 10, 2025
·
2 revisions
Welcome to the Myra UI Generator documentation wiki!
Myra UI Generator is a source generator for Myra UI XML files that automatically creates strongly-typed C# accessor classes. It scans your Myra XML files at compile-time and generates C# classes with properties for each widget, providing type-safe access with full IntelliSense support.
- NuGet Package: MyraUIGenerator
- GitHub Repository: JohnVonDrashek/MyraUIGenerator
- License: MIT
- Current Version: 1.0.9
- 🔧 Automatic Code Generation: Scans Myra XML files and generates strongly-typed C# classes
- 🎯 Type Safety: Compile-time access to UI widgets with IntelliSense support
- ⚙️ Configurable: Customize namespace and XML directory paths
- 🚀 Zero Runtime Overhead: Pure compile-time code generation
- 📦 NuGet Package: Easy to add to any MonoGame + Myra project