-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Rename TargetCamera
to UiTargetCamera
#17403
base: main
Are you sure you want to change the base?
Conversation
TargetCamera
to UiTargetCamera
TargetCamera
to UiTargetCamera
It looks like your PR is a breaking change, but you didn't provide a migration guide. Could you add some context on what users should update when this change get released in a new version of Bevy? |
62db864
to
c9da20f
Compare
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.
Annoying that this isn't more unified, but making this clear is better.
Objective
It's not immediately obvious that
TargetCamera
only works with UI node entities. It's natural to assume from looking at something like themultiple_windows
example that it will work with everything.Solution
Rename
TargetCamera
toUiTargetCamera
.Migration Guide
TargetCamera
has been renamed toUiTargetCamera
.