About this project
QfStudio.Godette.ReactiveUI integrates ReactiveUI with Godot Engine for C# development. It enables Model-View-ViewModel pattern implementation by providing platform services that connect ReactiveUI's reactive extensions to Godot's node system. The library supports data binding between ViewModel properties and Godot node properties through this.Bind and this.OneWayBind methods. Command binding connects ReactiveCommands to Godot controls like buttons with automatic CanExecute handling. Activation lifecycle management via WhenActivated responds to Godot scene tree presence and node readiness, with automatic subscription cleanup on deactivation. Signal-to-observable conversion provides type-safe ObserveXxx extensions for common Godot controls and a generic ObserveSignal bridge for custom signals. Collection binding synchronizes ObservableCollection to Godot containers through ItemsBinder and specialized binders for ItemList, OptionButton, TabBar, and PopupMenu. View location and routing integrate with ReactiveUI's RoutingState for navigation between .tscn scenes. The library includes frame-aware operators synchronized to Godot's process or physics frames and main-thread scheduling. It requires .NET 10, Godot 4.1+, and ReactiveUI v23. Installation involves adding the NuGet package with optional source generators for improved development experience.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.