Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

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

Style
Preview
pkglnk installs badge
## 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
```

[![pkglnk](https://www.pkglnk.dev/badge/safearea.svg?style=pkglnk)](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

Add from OpenUPM by scoped registry
  • 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

  1. Add CanvasHelper to the same GameObject as your Canvas.
  2. Assign the RectTransform that should stay inside the safe area.
  3. Choose which edges should respect the safe area.
  4. Optionally select a preview device in the custom inspector while working in the editor.

Comments

No comments yet. Be the first!