SafeArea RectTransform plugin for Unity
SafeAreaRect
component automatically adjusts RectTransform
to the size of the safe area.
To test your RectTransform, try to use com.unity.device-simulator
SafeAreaRect uses Unity - Scripting API: Screen.safeArea
The supported devices are those supported by Screen.safeArea
.
you can add https://github.com/doyasu24/SafeAreaRect.git?path=Assets/Plugins/SafeAreaRect#1.0.0
to Package Manager
or import unitypackage from release page.
MIT License