bevy-inspector-egui
bevy-inspector-egui copied to clipboard
Running code when a resource is modified
trafficstars
Is there a build in way to check if a resource was modified or do I have to manually have prev_value and check against that?
bevy-inspector-egui should work with regular bevy change detection, so checking Res<Resource>.is_changed() should work cheatbook.