- Home /
How can I add a UI (Main Menu) with function.
Hallo people, I've looked all across the web for an answer, but could find none. We have a small Multiplayer Online project made in Unity that we've just started this morning. I have all of the models made, animations are done and all the importants, but the Main Menu... I just can't solve it. I've followed many tutorials, but it all leads to compiling errors. So, here is my very broad question: How can I make a Main Menu, with the ability to select certain muliplayer levels? It may sound very simple, but our scripting guy is in a bind, and I'm left with his work. I just don't know what to do. So what I'm looking for is a way to make it do this:
Title here Select Level (after pressing 'SelectLevel') | Map name Map Name Map Name
Can somebody help me form the proper scripts to make this controller function? Believe me, I have tried in before projects, and I couldn't pull it off. Thanks! ~Preston
I think your question is too general. What is the exact difficulty here? What code have you tried that leads to error? The UnityGUI reference has the basic information on creating a GUI which can do what you want.
Thank you for the answer. I'm following a tutorial online, to make it so I can click on "Play Game" and have Unity bring me to a new menu, where I can select a level that we've made. Unfortunately, the scripts I was provided do not work, after I delete them, compiling errors disapear. But since you've responded, may I ask you where I can find this information in UnityGUI creation? (I have looked, but I have come up fruitless.) Thanks, ~Preston