Replies: 1 comment
-
Nevermind, I just discovered https://docs.rs/bevy-inspector-egui/latest/bevy_inspector_egui/inspector_egui_impls/struct.InspectorEguiImpl.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on an application in bevy that will feature an inspector-like interface to edit properties of many different Types. If I could use bevy-inspector-egui for that, that would save me a lot of time. But I am wary of using it because some properties would need a custom inspector widget in order to be user friendly. Most notably, some properties should have a drop-down menu of options only determined at runtime.
As far as I know something like that is not implemented in bevy-inspector-egui, so my question would be if there is a way for an application to extend the functionality of the create to custom widgets? Of course, I can simply not use the inspector functions for these specific properties, but what would be really great is to have it automatically work also for nested types and then I could just have the single inspector call to generate the correct UI.
If this is not possible, I am guessing the next best option would be to have these properties ignored in Reflect and then hack the widget into the generated Ui structure?
Beta Was this translation helpful? Give feedback.
All reactions