Hi all.
I guess this question is asked a lot but can not find clear answer.
Can you help give tutorial link from this forum or a response.
I’m a newbie in programming and would like to know how to do a drop-down menu when you click on a objebto to choose from a list item that is assigned to the object.
example:http://www.youtube.com/watch?v=bM_X-7Llv8M
I’m an architecture student and I want to make a virtual visit to a school project, is modeled in 3DMAX and import the model into Unity 3d, but I want to impress the teacher and up note.
The idea is that you store your materials in an array which gets looped through to show as buttons in the GUI. When clicked the button is referenced to the material in the array where the selected object’s renderer gets a call to switch material.
To select the object you could either use a Raycast or put a script on each object that is changeable with OnMouseUp. Store the object’s renderer and assign the new material to it.