These components and shaders allow you to add rounded corners to UI elements!
C#
1,753
85 commits
updated Nov 19, 2024
These components and shaders allow you to add rounded corners to UI elements!

URL to copypaste:
https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git
%projectname%/Packages/manifest.json"com.nobi.roundedcorners": "https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git"
ImageWithRoundedCorners component to a GameObject with an ImageRadius propertyImageWithIndependentRoundedCorners to a GameObject with an Imager Vector4 property. Each vector component represent radius, clockwise, starting with top-left cornerIf you need to add or change the image at runtime, call Validate() and then Refresh() to update the materials.





2,666 followers · starred Dec 2019
40 followers · starred Feb 2020
67 followers · starred Aug 2020
38 followers · starred Jul 2023
These components and shaders allow you to add rounded corners to UI elements!
C#
1,753
85 commits
updated Nov 19, 2024
These components and shaders allow you to add rounded corners to UI elements!

URL to copypaste:
https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git
%projectname%/Packages/manifest.json"com.nobi.roundedcorners": "https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git"
ImageWithRoundedCorners component to a GameObject with an ImageRadius propertyImageWithIndependentRoundedCorners to a GameObject with an Imager Vector4 property. Each vector component represent radius, clockwise, starting with top-left cornerIf you need to add or change the image at runtime, call Validate() and then Refresh() to update the materials.





2,666 followers · starred Dec 2019
40 followers · starred Feb 2020
67 followers · starred Aug 2020
38 followers · starred Jul 2023