
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/safearea.git?path=Packages/com.mrvc.safearea README Markdown
Copy this to your project's README.md
## Installation
Add **Safe Area** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/safearea.git?path=Packages%2Fcom.mrvc.safearea
```
[](https://www.pkglnk.dev/pkg/safearea)README
Safe Area
Safe Area is a Unity UGUI package that fits a target RectTransform to the current device safe area. It is useful for keeping UI away from notches, rounded corners, and system gesture areas.
How to install
- open
Edit/Project Settings/Package Manager - add a new Scoped Registry:
Name: OpenUPM URL: https://package.openupm.com/ Scope(s): com.mrvc - click Save
- open Package Manager
- click +
- select Add from Git URL
- paste
com.mrvc.safearea - click Add
Use
- Add
CanvasHelperto the same GameObject as yourCanvas. - Assign the
RectTransformthat should stay inside the safe area. - Choose which edges should respect the safe area.
- Optionally select a preview device in the custom inspector while working in the editor.
No comments yet. Be the first!