Packages : Device Simulator (For testing inside editor)
- Easy To Use Notch Solution
- Plug and Play
- Grab the latest release from Here and import it.
- Make a new gameObject as the child of Background image in the panel and rename it to SafeAreaHolder.
- Attach The SafeArea Script To SafeAreaHolder gameObject.
- Shift all your UI gameObjects inside the SafeAreaHolder gameObject making them the children of SafeAreaHolder.
- Open device simulator and switch to any of the notched devices to test.
- See the below config for more clarification or open the Demo scene.