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/Nobinator/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