Hi guys, i am so noob at coding, how do i have to do that when i press an Escape Key a GUI box shows having 2 buttons, I tried this way" Make a plane and write a text over it, save it as a scene and as press Escape Load that level but i want to display GUI box not the plan." Anyone would like to help out?
Replies
Read up as much on how to make a GUI as you can find.
Then have a script that has something like
if(Input.GetKeyDown("Escape"))
{
ShowMyGUIBox();
}
where ShowMyGUIBox() is your function for building and displaying the box you're asking about.
You'll need to write a function that draws your box to the gui with some of the built in functions as detailed in the unity documentation I listed.