{"repo":"Lamonin/UILineDrawer","free":true,"listed":false,"github":"https://github.com/Lamonin/UILineDrawer","clone":"git clone https://github.com/Lamonin/UILineDrawer.git","description":"Spline-based line renderer for Unity UI Canvas.","language":"C#","stars":28,"topics":["bezier","canvas","csharp","raycasting","spline","unity","unity-ui","unity3d"],"license":"MIT","category":"game-templates","readme_excerpt":"UILineDrawer (WIP) UILineDrawer is a Unity UI component for rendering smooth, high-quality lines directly inside the Canvas system. It is designed for precise visual output and accurate interaction, using optimized mesh generation and spline-based curves. The component is built on top of the custom Bezier spline implementation and supports adjustable thickness, configurable curve resolution, and robust raycasting directly along the rendered line. UILineDrawer was developed and production-tested in the Д.И.В.О. project (more in Showcase section). Line Example 4 point spline with subdivision level 1 (gizmos enabled) Mesh Generation --- Motivation Unity provides the built-in LineRenderer component, but integrating it into a Canvas-based UI requires non-trivial camera setup and workarounds. When development of this component began (05.2025), existing solutions did not support precise interaction with the line geometry . Input events were handled for the entire bounding rectangle instead of the actual rendered line, making accurate UI interaction impossible. UILineDrawer was created to solve this limitation. --- Features - Made for Canvas : the component is designed for simple and effective operation within the Unity Canvas environment. - Mask Support : full support for Rect2D and Mask masks. - Raycast Support : full raycast support. - Runtime API : full C# API to add, remove, and modify spline points and visual properties at runtime. - Sprite Support : optional sprite-based rende","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lamonin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lamonin/UILineDrawer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}