use bevy::prelude::*; use bevy_fnplugins::FnPluginsExt; fn main() { App::new() .add_plugins(DefaultPlugins) .fn_plugins((health_plugin, damage_plugin)) .run(); } fn health_plugin(_app: &mut App) { // Code ... } fn damage_plugin(_app: &mut App) { // Code ... }