bevy_iced
: use Iced UI programs in your Bevy application```rust use bevy::prelude::*; use bevy_iced::{ IcedAppExtensions, IcedPlugin, iced::{Program, program::State}, };
pub struct Ui { // Set up your UI state }
impl Program for Ui { // Set up your program logic }
pub fn main() { App::new() .addplugins(DefaultPlugins) .addplugin(IcedPlugin) .insertprogram(Ui::default()) .addsystem(ui_system) .run(); }
pub fn uisystem(mut uistate: ResMut
See the examples and the documentation for more details on how to use the crate.
bevy_egui
for giving me a useful starting point to do this