-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add command line option to choose a starting scene in the `testbed_*' examples #22223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add command line option to choose a starting scene in the `testbed_*' examples #22223
Conversation
apekros
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can simplify the match statements
Co-authored-by: Bayley Foster <43776524+apekros@users.noreply.github.com>
Co-authored-by: Bayley Foster <43776524+apekros@users.noreply.github.com>
Co-authored-by: Bayley Foster <43776524+apekros@users.noreply.github.com>
|
I had a different solution at first that's why it ended up like that, sorry! |
| "DebugOutlines", | ||
| "ViewportCoords", | ||
| ] | ||
| .join("\n\t") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be nice to add a reminder if #[cfg(not(feature = “bevy_ui_debug”))] saying something like “To be able to view the DebugOutlines scene, enable the bevy_ui_debug feature via --features=bevy_ui_debug”
Objective
testbed_*examples to choose the starting scene #22218Solution
arghto check if you passed a scene name, and if you did, start on that one instead of the defaultTesting