- Home /
Change the color of a child
Hi! Here's my problem, I have a rigidbody, it contains a determined number of childrens (without rigidbody). I want when the player passes de mouse over, the child change its color. But OnMouseOver don't work if I have a rigidbody attached to the parent.
Any solution? Thanks!!
Comment
Answer by Ed 1 · Oct 06, 2010 at 08:51 PM
Attach the script to the parent not the child. you would also have to get it to only affect that specific object.