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/rect-constraints.git
Rect-constraints

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **Rect-constraints** 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/rect-constraints.git
```

[![pkglnk](https://www.pkglnk.dev/badge/rect-constraints.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/rect-constraints)

Used By (1)

README

Unity Rect-constraints

openupm

This Unity package adds useful utilities for working with Rect objects in GUI and EditorGUI code. Some features include:

  • Placing rectangles relative to each other
  • Adding padding
  • Dividing rectangles into sub-sections

For specific instructions and guides check out the documentation.

⚠️ Development is paused ⚠️
No new features will be added or bugs fixed unless requested through an issue.
If you wish to fork this repository and continue the work, you are very welcome to do so.

Installation

The quickest way is to install via OpenUPM using openupm add dev.comradevanti.rect-constraints. Or install manually as git dependency from https://github.com/ComradeVanti/UnityRectConstraints.git or download as zip and import locally. If you decide to install manually, make sure your project includes the following scoped registry:

{
  "name": "package.openupm.com",
  "url": "https://package.openupm.com",
  "scopes": [
    "com.openupm",
    "dev.comradevanti.rect-constraints"
  ]
}

Roadmap

Features that could be added in the future (Help wanted)

  • Percentage-based sizes
  • Min/Max sizes
  • Weights
  • Grids
  • Tests

Comments

No comments yet. Be the first!