Skip to content
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

Add or_else combinator to run_conditions.rs #8714

Merged
merged 1 commit into from
May 31, 2023
Merged

Add or_else combinator to run_conditions.rs #8714

merged 1 commit into from
May 31, 2023

Conversation

hate
Copy link
Contributor

@hate hate commented May 29, 2023

Objective

Solution

  • Add an uninitialized resource Unused
  • Use or_else() to evaluate a second run condition
  • Add documentation explaining how or_else() works

@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events C-Examples An addition or correction to our examples labels May 30, 2023
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent stuff, these are great docs and very helpful.

@james7132 james7132 added this pull request to the merge queue May 31, 2023
Merged via the queue into bevyengine:main with commit 4ce3739 May 31, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ECS Entities, components, systems, and events C-Examples An addition or correction to our examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add or_else combinator to example
3 participants