-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
docs: Update input_toggle_active example #9913
Conversation
5fc6fe3
to
6752747
Compare
this example is actually not using |
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.
This is an example intended to show how to use input_toggle_active
. Doesn't removing it defeat the purpose of the example?
It's just removing the import, the condition was actually never used in the test. From my understanding, this specific example is more "you can't use that condition if you need to move the state to your own resource/state/whatever" |
@james7132 Can you take another look at this again with the added context from mockersf? |
# Objective - Update incomplete example for `bevy::input::common_conditions::input_toggle_active`. ## Solution - Update example.
# Objective - Update incomplete example for `bevy::input::common_conditions::input_toggle_active`. ## Solution - Update example.
Objective
bevy::input::common_conditions::input_toggle_active
.Solution