Unity3d uGUI Custom Graphic that draws an oval sector
Features
no custom shaders
correct input handling
SpriteBorder support
9-slice support
SpriteAtlas support
pixelPerUnitMultiplier support
Anchors for other transforms, including resizing to squeeze content into a sector
UV-by radius and tile by RectTransform
free pivot, or generated in the center of the sector
gradients
nested sectors can stick to parent
offset by angle
pixel offset
performance-wise
Known Issues
automatic navigation not always recognize Selectable in selection wheel, cause it's RectTransforms placed identicaly. Use explicit navigation instead
9-sliced sprites 'shrink' to center, cause uv calculated per-degree
Tiled mode not support SpriteAtlas, only Single-texture sprites, by design. Cause tiling achievet through uv repeating, no blowing up geometry as UI.Image.Tiled use