Unity Tutorial 05: Part 2: "3D Menus"
Uploader Comments (infiniteammoinc)
Top Comments
-
@LRMANIA It's fu*king awesome bug I ever seen... Is your "MenuItem" (Prefab) and "MenuItem" (Script) have same name? Rename the script to "menuItem".
And "var MenuItems:MenuItem[];" to "var MenuItems:menuItem[];" This help me.
All Comments (45)
-
Tutorial N2 min 3.26 --- Menu Items Option( under menu manager ) is not there in my unity i have Unity 3.5.0 ---- > Help me please.
-
Help!
I ever seen Size MenuItem..why?
-
ok nevermind got it
-
After doing all of the code and such all of my menu items still move even when i change the value of currentMenuItem
-
I get :"NullReferenceException: Object reference not set to an instance of an object" on "menuItems[currentMenuItem].On
Selected(true);" I also noticed that I don't see the 3 elements in MenuManager.
Can someone please tell me how I can fix this?
Another question:Here we create an array for the type MenuItem "var menuItems:MenuItem[];"
I see the name MenuItem on many places. Where is the type defined?
-
I have a problem with this MenuManger script. I only get the Current Menu Item showing but not the Menu Items. Can you help?
-
@2048Terrabit : genious thx:D. I spent more than an hour trying to fix this :S
-
damnit... "Too Many Root Sets" WTF !!!!! Man i suck so bad at this shit lol.. now my program is frozen ... GRRRR
-
Can this work w/ GUI texts?
message to infiniteteammoinc :
var MenuItems : MenuItem[];
for some reason the array thing doesnt appear when i click the menumanager object.please fu*king tell us how to fix it.
thank you
LRMANIA 1 year ago 6
@LRMANIA Do you have errors showing up in the console?
If your scripts don't compile properly, you'll get errors, and the script won't update the gui.
infiniteammoinc 1 year ago