-
-
Notifications
You must be signed in to change notification settings - Fork 4k
System::check_change_tick
and similar methods take CheckChangeTicks
#19600
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
System::check_change_tick
and similar methods take CheckChangeTicks
#19600
Conversation
…thub.com/urben1680/bevy into system-check-tick_takes_CheckChangeTicks
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.
I agree with this change (type-safety is really valuable here), but the migration guide really needs to clearly state where you can get the right value for this type. That information should be mirrored on the CheckChangeTicks
docs.
Do you mean the information should be mirrored from the |
…thub.com/urben1680/bevy into system-check-tick_takes_CheckChangeTicks
Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
Made |
Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
…s` (bevyengine#19600) Follow-up of bevyengine#19274. Make the `check_change_tick` methods, of which some are now public, take `CheckChangeTicks` to make it obvious where this tick comes from, see other PR. This also affects the `System` trait, hence the many changed files. --------- Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
Follow-up of #19274.
Make the
check_change_tick
methods, of which some are now public, takeCheckChangeTicks
to make it obvious where this tick comes from, see other PR.This also affects the
System
trait, hence the many changed files.