You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It came up in jakobhellermann/bevy-inspector-egui#147 that it is often useful to run some systems (like looking around) only if egui is not using the pointer input.
mod common_conditions {fnegui_mouse_unused(egui_contexts:Query<&EguiContext>) -> bool{
egui_contexts
.iter().all(|ctx| !ctx.get().wants_pointer_input())}}
It came up in jakobhellermann/bevy-inspector-egui#147 that it is often useful to run some systems (like looking around) only if egui is not using the pointer input.
For prior art, bevy also has some
common_conditions
for various subcrates:The text was updated successfully, but these errors were encountered: