ported dev window to bevy_editor_plz #175
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I saw issue #113 and decided to do it.
currently, this is more of a draft implementation since It is missing a key detail and there is at least one bug that should probably be fixed before a full merge.
I also made bevy_editor_pls open on q and not e so it doesn't open when you talk to the NPC
I don't know how to open a floating window outside of using the top bar with bevy_editor_plz so I removed the toggle code but this does mean you still get user input when the window is open.
there also is a bug that the menu will toggle from its open state when you close the escape menu, this would not be a problem if it only close when closing the menu but it will actually reopen it if you close it before hitting escape again. also only does it when closing the scape menu not opening it. I think this has to do with how you are telling egui to toggle the escape menu
hope this helps you get started since in the issue you were planning to do some sort of delayed update because you need multiple mutable world access but this doesn't seem to be the case.