# Unity-UI-Rounded-Corners **Repository Path**: mirrors_kirevdokimov/Unity-UI-Rounded-Corners ## Basic Information - **Project Name**: Unity-UI-Rounded-Corners - **Description**: These components and shaders allow you to add rounded corners to UI elements! - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-01-10 - **Last Updated**: 2026-01-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Unity-UI-Rounded-Corners These components and shaders allow you to add rounded corners to UI elements! --- ![](title.gif) ## How to install ### Option 1: Package Manager (Unity 2019.3 and higher) ![](how-to-install.gif) URL to copypaste: ``` https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git ``` ### Option 2: Package Manager (Manual) - Open `%projectname%/Packages/manifest.json` - Add the following to the dependencies section: ``` "com.nobi.roundedcorners": "https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git" ``` ## How to use #### Symmetrical roundness - Add `ImageWithRoundedCorners` component to a GameObject with an `Image` - Adjust `Radius` property #### Certain roundness value for each corner - Add `ImageWithIndependentRoundedCorners` to a GameObject with an `Image` - Adjust `r` Vector4 property. Each vector component represent radius, clockwise, starting with top-left corner #### Important thing If you need to add or change the image at runtime, call `Validate()` and then `Refresh()` to update the materials. # Features ## Changing roundness separately or all at once ![](separate-roundness.gif) ## Keeps round while resizing ![](gif-01.gif) ## Better quality than sprites ![](image-00.png) ## Supports Unity Mask ![](gif-02.gif) ## Supports Tint ![](gif-04.gif)