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/rounded-corners.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **Rounded Corners** 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/rounded-corners.git
```

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

README

Rounded Corners

openupm

Unity UI MaskableGraphic components with rounded corners embedded in their meshes.

Since the rounded shape is in the mesh, you don't need to add extra textures for rounded rectangles of any size in your project. You can also make rounded cuts to textures/sprites without using masks.

Features

  • Independent configurations for radius and number of triangles generated per corner.
  • Supports custom materials and masking. Rounded corners are embedded in the generated meshes, so the components don't mess with your materials at all.
  • Supports mesh modifiers, like Outline and Shadow.

How to install

This package is available on the openupm registry and can be installed using the openupm-cli:

openupm add com.gilzoide.rounded-corners

Otherwise, you can install directly using the Unity Package Manager with the following URL:

https://github.com/gilzoide/unity-rounded-corners.git#1.0.0

Or you can clone this repository or download a snapshot of it directly inside your project's Assets or Packages folder.

Components:

  • RoundedRect: colored rectangle with rounded corners.
  • RoundedTexture: texture with rounded corners and configurable UV.
  • RoundedImage: sprite with rounded corners. UVs are automatically fetched from sprite data. For now only simple filling is supported, no slicing nor tiling.

Samples

This project comes with a sample scene that shows Rounded Corners features.

Comments

No comments yet. Be the first!