bevy_fnplugins 0.1.1

A plugin for bevy that allows you to use functions as plugins
Documentation
1
2
3
4
5
6
7
8
9
use bevy::prelude::*;

pub(crate) fn combat_plugin(app: &mut App) {
    app.add_systems(Update, combat_system);
}

fn combat_system() {
    println!("Player damage: 10");
}