- Home /
How would you make objects appear when the mouse goes over them?
Say i have a cube, how would i make 5 more cubes appear when i hover over it with the mouse?! Using javascript btw.
I'm just a beginner so i don't really have a clue about anything on unity so please help me out! :) thanks!
Comment
Answer by dexl · Nov 29, 2012 at 04:31 PM
You can add the other cubes as child of the main cube in the inspector, then deactive the children cubes, when your mouse if over it, use transform.Find("cubes") to reactive all the sub cubes.