Unity-UI-Extensions/com.unity.uiextensions

Creating a line from script

Closed this issue · 0 comments

I'm trying to create a line in my scroll view game object where I can modify its position and size in the runtime with my mouse. Basically, I'm trying to implement a modified version of the UILineConnector (without using it because it is bugged in the scroll view component) so I need to access the line type to change it to a bezier curve and line points to modify the position and the shape of the line and update the line for with the new inputs. I couldn't find any functions like CreateLine inside the UILineRenderer.