- Home /
Question by
cleu7001 · May 27, 2018 at 07:52 AM ·
scripting problemcanvasline renderer
Line Renderer and Canvas Group?
Hi, I have a LineRenderer that is a child of a canvas. I wrote a script that fades in and out a canvas group, but it seems to ignore the Line Renderer (the line is always visible.. doesn't fade in or out when script runs)
Wondering how i could fix this?
Thanks :)
Comment
Can you provide more information? Code? Reference images?
Answer by agirault · Nov 10, 2018 at 10:26 PM
Line renderer is not a member of UI but a 3D object instead, so it will not be treated as a UI component even if it is inside your canvas (masking, etc...).
You could also give a look at these solutions: