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
10
11
12
13
14
/* This example shows how to create a hierarchy between `struct` plugins and `fn` plugins */

use bevy::prelude::*;

mod player;

use player::PlayerPlugin;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .add_plugins(PlayerPlugin)
        .run();
}