C
C
Chillbruh2021-05-29 18:02:57
Android
Chillbruh, 2021-05-29 18:02:57

The front camera covers the UI elements on the screen. How to fix?

Good day! There is a game for android written in Unity. On a phone, the front camera covers the UI elements on the screen in full screen mode. How can you fix this moment? I saw that in other games the screen height simply becomes smaller and the top edge becomes lower than the camera. How to implement this in Unity? Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chillbruh, 2021-06-03
@Chillbruh

In general, if anyone needs it, I found a video on YouTube from a kind person: https://www.youtube.com/watch?v=mgGblb7uyr4
If suddenly the video is deleted, then dig towards Screen.SafeArea

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question