Question by
mitch_eff · Dec 19, 2017 at 01:17 AM ·
linerendererline renderermouseover
LineRenderer - highlight segment on mouseOver?
Hey guys,
I feel like this should be somewhat simple, but I can't see any mention of it anywhere.
So I'm creating a line/shape by passing an array of vector3s into a LineRenderer component, and I'd like to have a segment of the line highlight/change colour when the user hovers their mouse over it (detecting where on the line it's been clicked would be amazing too, but I think I can just work that out with geometry if not).
Is this achievable? If not, does anyone have any pointers of a better alternative?
Cheers,
Comment