MrGVSV / bevy_proto

Create config files for entities in Bevy
Other
239 stars 25 forks source link

Implement hot reloading for prototypes #22

Closed CatThingy closed 2 years ago

CatThingy commented 2 years ago

This PR implements hot-reloading if the feature hot_reloading is enabled. Note that hot reloading only works for the first path specified in ProtoDataOptions. The core implementation was copied from bevy_asset, with minor details changed to fit.

This PR will be obsoleted by #18, as Bevy's native asset hot reloading can be used instead.

MrGVSV commented 2 years ago

Merging now. I'll put together a release soon!