Arch icon indicating copy to clipboard operation
Arch copied to clipboard

Plugins and Application root

Open Shadowblitz16 opened this issue 1 year ago • 3 comments

Bevy has something called plugins which go something like this...

var app = new Application();
app.AddPlugin(MyPlugin);
app.Run();

public void MyPlugin(Application app)
{
    app.AddSystem(...);
}


Shadowblitz16 avatar Sep 09 '24 01:09 Shadowblitz16

What's their purpose?

genaray avatar Sep 10 '24 10:09 genaray

@genaray plugins allow people to add systems and other plugins to the world.

Shadowblitz16 avatar Sep 10 '24 21:09 Shadowblitz16

This seems trivial to add using extension methods and a couple of interfaces, I don't think that this needs to be part of the core library.

Epicguru avatar Sep 17 '24 19:09 Epicguru

ok

Shadowblitz16 avatar Sep 29 '24 04:09 Shadowblitz16