Closed johanhelsing closed 2 years ago
All components should only be displayed if you use InspectorQuery<Entity>
. If you use InspectorQuery<&'static mut ComputedVisibility>
(or any other query InspectorQuery<(Other, Query, Types), Filter>
with &'static lifetimes) you should only get the ones you're interested in.
Right, this totally works already :) Sorry about the noise.
From the readme, it sounds like it should be possible to only show specific components...
However, at least when using
InspectorQuerySingle
, it seems like the behavior is to always show all the components of the matching entities... while I want to get rid of all the extra noise and only show the components I asked for, notComputedVisibility
++Is it supported somehow to only show specific components?