Unity UI Extensions - UI Line Renderer control overview

preview_player
Показать описание
Overview of the Line Renderer control specifically for the UI system (Not the native Unity 3D Line Renderer)

Рекомендации по теме
Комментарии
Автор

To me, drawing 2D lines seems like something really fundamental that unity should provide,

TeeMee
Автор

3 years later, just found this and its a great UI kit

dvandamme
Автор

Hrmm, I installed this, but it doesn't quite seem to be working correctly. Even at Line thickness 1, the line is wider than my entire canvas. Is the line just supposed to be rendered really far away, or is something else going wrong?

Edit: Oh wait, nvm, I think the scale just got blown up when I dragged it into my canvas xD I guess I'll leave this here in case it happens to anyone else though.

Pixie.
Автор

It was working great until I noticed that the line would still show outside the bounds on a scroll rects viewport, is there any way to fix this?

chikicat
Автор

Dear Simon,

Is it possible to change the points of the line on the run? I'm trying to do this in the Update function through Vector2(0, [NewValue]), 0) but it seems to work only once. The point gets the new value on the first frame, but does not react to the new value, which is set up at every Update-call.
Thank you.

aconitpower
Автор

Is it possible to animate the line while on play, I've tried lerping the points but it seems to snap instead, and it only snaps when I alt tab in and out.

tmeister
Автор

when i add it to the scene it doesnt add any lines

LuhDuckster
Автор

This seems pretty cool! Still, I might be doing something wrong because on a World Space canvas, it doesn't seem too work that good. Since distances are too short, the lines go across themselves instead of ending at the intersection of a point between them. I found a workaround: Make the Rect Transform huge and then scale the object down a lot, then the distances between points are long enough to avoid this behavior.
Any ideas?

Adridle
Автор

HI, I'm drawing UI line with mouse position but line and my cursor position is not same !! Line is drawing before some distance at mouse position!! help..

temoorwali
Автор

Doubt I'll get a response, but here's hoping: whenever I make a UI Line Renderer it's just a box. Add Points makes no difference in any way. It's just a square.

oldmancomedies
Автор

I looove this extension but was wondering is it possible to have a border/outline around the rendered line?

TipTopTie
Автор

Hey there, first of all I would like to say awesome extension and videos.
I cant seem to get the line to change at runtime when I modify points with code, is there anything I can read about this?
The values seem to update but this is not reflected in the drawing.

lukemcintosh
Автор

how can we have smooth line? This one is pretty excellent feature.

RahulGupta
Автор

how do i add points thru code using mouse positions

CariagaXIII
Автор

Highly annoying that you guys think a team will want EVERY plugin in one single package. This is about the 5th time I've needed a single script and I gotta dig through your entire codebase to find all the dependencies and sort it out. Please just post the individual tools.

brandontyson
Автор

Hello. I have, perhaps trivial, but still a question.

How do I make a dotted line with this? Cause I've been struggling with that a bit...

odinoczka