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!
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!
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.