UI components for Unity that render shapes with outlines, shadows and rounded corners using signed distance functions (SDF). And an SDF texture editor that allows users to edit Bezier curves and convert them to SDF textures within the Unity editor.
Add a field for independent corners
Add a field for outline
When the options are enabled, the inspector is updated
When the outline option is disabled, the width becomes 0. When independent corners are disabled, all corners are set to the same value
Simple code example
Add RequierComponen of type MaskableGraphic to exist RectTransform
Add a field for independent corners Add a field for outline
When the options are enabled, the inspector is updated
When the outline option is disabled, the width becomes 0. When independent corners are disabled, all corners are set to the same value Simple code example
Add RequierComponen of type MaskableGraphic to exist RectTransform