The plugins currently support loading and saving the game state dynamically using run_if and custom resources implementing *FileRequest.
I propose to use Bevy's event system, to send custom load / save events. The load / save plugins could then register event readers and load / save when they receive a new event.
Hi! Thanks for the awesome crate.
The plugins currently support loading and saving the game state dynamically using
run_if
and custom resources implementing*FileRequest
.I propose to use Bevy's event system, to send custom load / save events. The load / save plugins could then register event readers and load / save when they receive a new event.
https://bevy-cheatbook.github.io/programming/events.html
E.g.: repurpose
*FileRequest
to something similar to