-
-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Make world nullable in
CameraComponent
(#2615)
`CameraComponent` can now stare at nothingness because its world reference can be null now. ### Migration instructions `CameraComponent.world` is now nullable. While accessing it, make sure to perform null checks if it can be null in your case. Otherwise, if you are sure that the world is non-null perform unconditional using `CameraComponent.world!`.
- Loading branch information
1 parent
832c051
commit 14f5163
Showing
2 changed files
with
11 additions
and
9 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