I haven’t been able to find much on the topic, as my searches show results for cameras within Unity, what I’m curious about is on some phones there’s an actually ‘selfie’ camera on the phone screen that can cover part of the screen.
For example the Samsung S10 has a camera in the top right corner of the screen, the screen continues rendering around it, but the camera itself obscures that part of the screen.
In general what is the best way to deal with this, assuming that there are many phones and some may have different camera positions/sizes? Is there a standard ‘padding’ at the top to avoid this? or is there a specific way of detecting if/where this camera is and programming the UI around it?
image for reference!