- Home /
Question by
Alan Almeida · Dec 18, 2013 at 04:38 PM ·
errorongui error
Por Favor, me digam se existe algum erro aqui... Obrigado
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();
}
Comment
Eae Alan beleza? Primeiro eu vou precisar que você formate melhor a sua pergunta. Em segundo eu gostaria que você volta-se a fazer a pergunta em ingês. Assim que você fazer estes passos eu poderei te ajudar. Assim a comunidade fica organizada e padronizada. See you!
Answer by Stormizin · Dec 18, 2013 at 05:21 PM
You open and close one key for each GUI.Button for what? You don't need this, unless you want to do it with the if statement(not mandatory).
Hope helped you. See you.
yes, I maked ever correct, but the Unity is saying "have an error whit a APPLICATION"
sorry if my english is incorrect, but i'm brasilian
Your answer