aevyrie / bevy_mod_picking

Picking and pointer events for Bevy.
https://crates.io/crates/bevy_mod_picking
Apache License 2.0
764 stars 170 forks source link

Only draw debug circle and drag indicators (in debug_draw_egui) when DebugPickingMode is set to noisy #339

Open Affinator opened 2 months ago

Affinator commented 2 months ago

Hi, IMHO the circle and drag indicators are a bit much, even when debugging.

I personally expected them to go away when reducing DebugPickingMode from Noisy to Normal. Therefore I simply added the check to debug_draw_egui.

This could also be a PluginSetting or DebugPickingMode could be extended, but I find this approach intuitive enough.