Closed Undume closed 2 months ago
I don't know what happened with the formatting of the OnSceneLoaded(), in my file is well tabbed.
Hi @Undume, thanks for the PR! Could you share a basic Unity project where you encounter the issue so that I can better understand what this PR is fixing? That would be much appreciated, thank you!
Thank you for the PR @Undume
This is an interesting problem. The proposed solution would not work as a general take as it would interfere with splitscreen games that do not use stacked layered cameras.
If you have an example I would like to use it as one of several test cases to improve the functionality here as I agree that the automatic resizing can and should give developers to do more.
Otherwise I would instead propose that the plugin would best be expanded to
Closing this. As part of the effort to bring AirConsole to Android Automotive, the related functionality will be improved and extended to handle more cases and lay the base for more complex setup.
I was porting my game "com.ecantalejos.rgbblocks" to Android TV and I had problems with the "Android UI resize mode" because I have a nested scene with "another Main.camera" in the nested one.
So I changed only resizing the Camera.pixelRect from Main.camera to resize all the cameras with the AndroidUI in mind.