{"id":15038109,"url":"https://github.com/kirevdokimov/unity-ui-rounded-corners","last_synced_at":"2025-05-14T13:07:08.902Z","repository":{"id":37778927,"uuid":"173591793","full_name":"kirevdokimov/Unity-UI-Rounded-Corners","owner":"kirevdokimov","description":"These components and shaders allow you to add rounded corners to UI elements!","archived":false,"fork":false,"pushed_at":"2024-11-19T13:23:02.000Z","size":4485,"stargazers_count":1530,"open_issues_count":20,"forks_count":128,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-06T12:12:00.667Z","etag":null,"topics":["c-sharp","cg","hlsl","shader","shaderlab","ui","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kirevdokimov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-03T15:19:42.000Z","updated_at":"2025-04-04T06:50:07.000Z","dependencies_parsed_at":"2024-01-17T05:13:58.003Z","dependency_job_id":"470c6b04-3eb5-4e25-acd0-15cf9f361c72","html_url":"https://github.com/kirevdokimov/Unity-UI-Rounded-Corners","commit_stats":{"total_commits":69,"total_committers":13,"mean_commits":"5.3076923076923075","dds":"0.24637681159420288","last_synced_commit":"33135342e868201eb0d4cef821ecab90caca373e"},"previous_names":["nobinator/unity-ui-rounded-corners"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirevdokimov%2FUnity-UI-Rounded-Corners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirevdokimov%2FUnity-UI-Rounded-Corners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirevdokimov%2FUnity-UI-Rounded-Corners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirevdokimov%2FUnity-UI-Rounded-Corners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirevdokimov","download_url":"https://codeload.github.com/kirevdokimov/Unity-UI-Rounded-Corners/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248759373,"owners_count":21157146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","cg","hlsl","shader","shaderlab","ui","unity"],"created_at":"2024-09-24T20:37:09.120Z","updated_at":"2025-04-13T18:25:14.754Z","avatar_url":"https://github.com/kirevdokimov.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity-UI-Rounded-Corners\n\nThese components and shaders allow you to add rounded corners to UI elements!\n\n\n---\n\n![](title.gif)\n\n## How to install\n### Option 1: Package Manager (Unity 2019.3 and higher)\n![](how-to-install.gif)\nURL to copypaste: \n```\nhttps://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git\n```\n\n### Option 2: Package Manager (Manual)\n- Open `%projectname%/Packages/manifest.json`\n- Add the following to the dependencies section:\n```\n\"com.nobi.roundedcorners\": \"https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git\"\n```\n\n## How to use\n#### Symmetrical roundness\n- Add `ImageWithRoundedCorners` component to a GameObject with an `Image`\n- Adjust `Radius` property\n#### Certain roundness value for each corner\n- Add `ImageWithIndependentRoundedCorners` to a GameObject with an `Image`\n- Adjust `r` Vector4 property. Each vector component represent radius, clockwise, starting with top-left corner\n#### Important thing\nIf you need to add or change the image at runtime, call `Validate()` and then `Refresh()` to update the materials.\n\n\n# Features\n## Changing roundness separately or all at once\n![](separate-roundness.gif)\n## Keeps round while resizing\n![](gif-01.gif)\n## Better quality than sprites\n![](image-00.png)\n## Supports Unity Mask\n![](gif-02.gif)\n## Supports Tint\n![](gif-04.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirevdokimov%2Funity-ui-rounded-corners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirevdokimov%2Funity-ui-rounded-corners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirevdokimov%2Funity-ui-rounded-corners/lists"}