- Home /
How to make UI circle follow UI Line Renderer
I am using the UI Line Renderer from the UI extensions repository on bitbucket : https://bitbucket.org/UnityUIExtensions/unity-ui-extensions
I want to have a UI circle(also in the UI extensions repo) move along the line based on a variable. The problem is I'm not sure how to convert the points on the line to a rect transform for the circle. I just want to move the circle along the line but the coordinates seem to be completely different. Modifying the x and y positions of the UI circle by the amount of the distance between the point I want it to be at the and the previous point never places the UI circle at the right spot.
Your answer
Follow this Question
Related Questions
LineRender width not consistent across resolutions 1 Answer
Unity Mobile problem: text displayed incorrectly on Mobile 2 Answers
Unity C#: Line renderer from Gameobject (3D) to Canvas (Screen Space - Camera) 1 Answer
Buttons stopped working after I temporarily changed the font. 1 Answer
Get layoutgroup and contentSizeFitter to update immediately 4 Answers