- Home /
Question by
TheFPiriz · Oct 24, 2017 at 03:16 PM ·
c#collisionlinerenderercubecolor change
change color of a cube having touched by Line Renderer
Good evening, I am doing an exercise in which I have a "beam" created with Line Renderer and I want that when the beam touches a block, the block changes color. Like the beam appears in the image it goes out of the red block, but I want that it is the white block the one that changes the color. Thank you
rayo.png
(119.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612141741im_/https://answers.unity.com/themes/thub/images/avi.jpg)