Google Translate: Please, tell me if there is some mistake here … thank you
function OnGUI() {
if (!controlePause)
{
GUI.Box(Rect(0,0,Screen.width,Screen.height),"JOGO PAUSADO");
}
{
GUI.Button(Rect(100,50,posX,posZ),"VOLTAR AO JOGO")
Application.LoadLevel("Ilha");
}
{
GUI.Button(Rect(100,50,posX,posZ),"SAIR")
Application.Quit();
}