/SafeAreaRect

SafeArea RectTransform plugin for Unity

Primary LanguageC#MIT LicenseMIT

SafeAreaRect

SafeArea RectTransform plugin for Unity

editor

SafeAreaRect component automatically adjusts RectTransform to the size of the safe area.

To test your RectTransform, try to use com.unity.device-simulator

device-simulator

Support devices

SafeAreaRect uses Unity - Scripting API: Screen.safeArea

The supported devices are those supported by Screen.safeArea.

Install

you can add https://github.com/doyasu24/SafeAreaRect.git?path=Assets/Plugins/SafeAreaRect#1.0.0 to Package Manager

upm

or import unitypackage from release page.

License

MIT License