These components and shaders allows you to add rounded corners to UI elements!
- Open
%projectname%/Packages/manifest.json
- Add following to dependencies section:
"com.nobi.roundedcorners": "https://github.com/kirevdokimov/Unity-UI-Rounded-Corners.git"
Get .unitypackage
from releases
- Attach
ImageWithRoundedCorners
to gameobject withImage
- Сreate new material
- Pick
RoundedCorners
shader - Attach material to
ImageWithRoundedCorners
andImage
- Profit
- Attach
ImageWithIndependentRoundedCorners
to gameobject withImage
- Сreate new material
- Pick
IndependentRoundedCorners
shader - Attach material to
ImageWithIndependentRoundedCorners
andImage
- Profit
If this project has helped you and you'd like to contribute back, you can always buy me a ☕!