-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Objective The name `DefaultCameraView` is confusing and misleading: * It isn't the default UI camera, which is either the camera with the `IsDefaultUiCamera` marker component or, if no such camera is found, the camera with the highest order which has the primary window as its render target. * It doesn't make sense to call it a "default", every active 2d and 3d camera is given its own `DefaultCameraView`. * The name doesn't make it clear that it's UI specific component. ## Solution Rename `DefaultCameraView` to `UiCameraView`, add a doc comment for it and rename a few other fields and variables. ## Migration Guide `DefaultCameraView` has been renamed to `UiCameraView`
- Loading branch information
Showing
2 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters