mod engine; use bevy::prelude::*; use engine::UBSGEngine; fn main() { App::new() .insert_resource(ClearColor(Color::DARK_GRAY)) .add_plugins(DefaultPlugins) .add_plugins(UBSGEngine) .add_systems(Startup, startup) //.add_systems(Update, gameloop) .insert_resource(Time::::from_hz(60.0)) .run(); } fn startup( mut commands: Commands, //mut meshes: ResMut>, //mut materials: ResMut>, //asset_server: Res, ) { commands.spawn(Camera2dBundle::default()); } // fn gameloop( // mut camera: Query<(Entity), With>, // time: Res