这些组件和着色器可让您为 UI 元素添加圆角!
要复制粘贴的 URL:
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 组件添加到具有 Image 的 GameObject 中Radius 属性ImageWithIndependentRoundedCorners 添加到具有 Image 的 GameObject 中r Vector4 属性。每个向量成分分别表示圆角半径,顺时针方向,从左上角开始暂无开放 Issues,或尚未同步最近议题。