|
How can I create multiple buttons that look like a menu. In other words, How can I make a navigation menu with several buttons. Only in JavaScript please! Thank you
(comments are locked)
|
|
Read the GUI help file here it is really easy ... you can "showMenu" with a trigger or a button or any other possible way. From the inspector you can change all the properties add images and rollover states. Here is a quick example ... you propably need to add another GUI rectangle as backdrop and more buttons and labels. Add the script to your camera or First person controller. Hope that helps. Dont Work, no function, only Errors, Another JavaSript Code maybe?
Apr 01 '10 at 09:19 AM
Flash-Unity3D
@MandyCapy: It does work, it does function, and there are no errors.
Apr 01 '10 at 10:07 AM
Eric5h5
@MandyCapy hmmm create a new javascript add the code in it and drag it to your first person controller. You have to replace the "//do your thing here" with a task like "showMenu = false ;" or "print ("I promise I will read the help file 100 hundred times");" !??$
Apr 01 '10 at 10:41 AM
alexnode
Sorry dont work!
Apr 01 '10 at 12:21 PM
Flash-Unity3D
and dont lokk like a Menuebar!
Apr 01 '10 at 12:22 PM
Flash-Unity3D
(comments are locked)
|
