About:
Unity-inspired entity hierarchy and component editor via amethyst-imgui
Basic sage:
#[derive(Inspect)]
on all components that you want to show up in the inspector. For example:
// InspectControl is a derive for drawing nested structs
// #[inspect(no_default)] would disable adding this component
- List all your components you want to show up in the inspector with an
inspector!
macro. This creates a system calledInspector
.
inspector!;
- Add
InspectorHierarchy
andInspector
systems.
.with
.with
Help wanted
Drop me a line on discord or create an issue if you can help or have advice:
- Make a modal or smth specifying properties when adding components
- documentation
- tests or smth idk if applicable