- Home /
gui text button dont work
hey guys i have a gui text in my screen i want to klick it en than load a level bezous the text is named load level so how do i do this ??? must i add a script to the gui text?
i just want to be ablle to klick the text en than unity loads & plays the level i wanna load is named new02
i had i script somthing like this guilayout.button ("fire1") load.level.("new02") but it doesnt work can some one help me
If you want us to take the time to answer your question please take the time to spell check.
cheers.
Answer by The_r0nin · Jan 16, 2011 at 05:21 PM
if (GUI.Button(Rect(0,0,100,100,"Click Here")){
Application.LoadLevel(1);
}
Your answer
Follow this Question
Related Questions
Find GUI Button and Assign Text 1 Answer
Text pop up when mouse over gui button 2 Answers
uGUI Button size based on text size 1 Answer
How to change text color on hover in new GUI? 10 Answers
[closed]Move Buttons and Text 1 Answer