Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 2; i <= 6; i++)
- {
- for (int x = 0; x <= 4; x++)
- {
- if (GUI.Button(new Rect(x * espacamentoBotoes.x, espacamentoBotoes.y, tamanhoBotoes.x, tamanhoBotoes.y), numerosLevels[i-2]))//, "botaoPressionado"))
- {
- if (LevelLiberado(i) != "trancado")
- Application.LoadLevel(i + 1);
- }
- }
- }
Add Comment
Please, Sign In to add comment