- Home /
toggle highlight script ?
HI Everyone, I am trying to enable/disable a script that highlights the cube shown below. I want to do this by pressing a 3D button. The 3D button is a gear that is a child of the cube that is highlighted. The "gear" has a script component which is the "toggle highlight" script. At the moment, when the gear is clicked, the game object just disappears. The images attached show the toggle highlight script and the cube game object. The script I am trying to toggle on/off is attached to the cube itself.
[1]: /storage/temp/110144-img-1847.jpg
[2]: /storage/temp/110145-pastedimage.png
Your answer
Follow this Question
Related Questions
How do i Update a Transforms Position, and how do i have objects face along a spline?? 1 Answer
How does the Triangles work on Mesh? 1 Answer
How do i replace a Mesh Filter?? 1 Answer
How to render a LineRenderer through multiple points? 3 Answers
Problem with curved cornered spline that i need help with. 1 Answer