I have a GUI scene in my game, and there are nodes at the top left and right corners of the scene. The problem is that on newer phones with a “notch” and rounded corners, these nodes get obscured. Is there a way to get the position from a safe area and use it to reposition GUI nodes, or better yet, the entire scene?
Would like a solution that works for both Android and iOS preferably.
I’ve seen this one and it works, but it adds safe area constraints to the entire game, which causes black bars. I’m hoping for a solution that only adds constraints to the GUI.