Bring the "Figma" Workflow Directly into Unity UIBetter Rectangles Built natively on Unity Canvas.URP (Recommended): Fully supported. All features work. (Note: Enable "Opaque Texture" in URP Asset for Background Blur).Built-in & HDRP: Partially supported. Core shapes, fills, booleans, and shadows work flawlessly. However, Background Blur is URP-exclusive and won't render here.Welcome to Better Rectangles 2.0—now evolved into a complete, highly optimized SDF-based (Signed Distance Field) UI framework. Built to seamlessly replace the standard Unity Image and Button components, it brings desktop-class vector design capabilities straight into your Inspector and Scene View.Say goodbye to importing endless sprite variations and complex animator controllers. Intuitively design infinitely scalable cards, complex geometric menus, and fully interactive buttons on the fly. With new massive additions like the Interactive State Manager, Procedural Soft Masking, and 1-Click Sprite Baking, Better Rectangles 2.0 keeps your project incredibly lightweight while delivering pristine, pixel-perfect visuals across all platforms.KEY FEATURES:Interactive State Manager (Better Button): A powerful system that converts shapes into interactive buttons with Normal, Hovered, Pressed, Selected, and Disabled states. It includes custom tweening transitions such as Spring, Linear, EaseOut, EaseInOut, and SmoothLerp.Bake to Static Sprite: A performance optimization tool that renders complex SDF designs into standard Unity UI Images and Sprite Atlases. It automatically replaces procedural components while retaining transform animations.Procedural Soft Masking: A dedicated masking system that clips child UI elements to perfectly match the parent rectangle's SDF shape, including corner radii and boolean cutouts.Live Boolean Operations: Real-time procedural geometry allowing you to create complex cutouts using Union, Subtract, and Intersect operations with child objects.Infinite SDF Scalability: High-performance SDF rendering that ensures zero pixelation and perfectly crisp edges at any resolution or scale.Native Video Fills: Support for Video Clip playback directly within the UI shape, featuring adjustable playback speed and viewport-based playback options.Advanced Media Transforms: Dedicated Scene View handles to pan, rotate, and scale (Uniform, X, or Y) image and video fills directly in the editor.Flexible Gradients: Advanced filling options for both Linear and Radial gradients using the native Unity Gradient editor for multiple color and alpha keys.Stackable Visual Effects: A layered effect system allowing you to stack multiple Drop Shadows, Inner Shadows, and Layer Blurs on a single GameObject.Glassmorphism (URP): Frosted glass visual effects created through native Background Blur integration.Dynamic Stroke System: Fully adjustable border width and color with support for Inside, Center, and Outside alignment.Spatial Dithering: An anti-banding feature that eliminates color artifacts and ensures smooth transitions in gradients and soft shadows.Simple LOD Optimization: A performance-saving feature that automatically disables expensive effects like blurs when the UI element's size falls below a specific threshold.Image Extension Modes: Comprehensive wrap controls for textures and videos, including Repeat, Extend, Clip, and Mirror modes.One-Click Asset Export: Built-in tools to save UI designs as PNG or JPG files at up to 4x resolution scale directly from the Inspector.Revamped Editor UX: A desktop-class design experience featuring interactive Scene View tooltips, category-based foldouts, and color-coded headers.





