AutoScreen provides a smart solution for Safe Area in Unity.
Unity's Device Simulator has a lot of information about Safe Area, but there is no feature to use them to support Safe Areas or to preview them comfortably in the Unity Editor.
By using components such as SafeArea
provided by AutoScreen, you can support and quickly check the Safe Area with simulator window regardless of whether it's playing or not.
This is done by transforming the RectTransform, but the changes are not saved in the file, so it makes no difference in the version control system.
- Unity: 2021.1 or higher
- Open the Package Manager
- Press [+▼] button and click
Add package from git URL...
- Enter the following:
or add a following line to dependencies
field of your Packages/manifest.json.
"com.jagapippi.auto-screen": "https://github.com/su10/AutoScreen-for-Unity2021.git?path=Packages/com.jagapippi.auto-screen"
MIT