Guest User

Untitled

a guest
Apr 26th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. for (int i = 2; i <= 6; i++)
  2.         {
  3.             for (int x = 0; x <= 4; x++)
  4.             {
  5.                 if (GUI.Button(new Rect(x * espacamentoBotoes.x, espacamentoBotoes.y, tamanhoBotoes.x, tamanhoBotoes.y), numerosLevels[i-2]))//, "botaoPressionado"))
  6.                 {
  7.                     if (LevelLiberado(i) != "trancado")
  8.                         Application.LoadLevel(i + 1);
  9.                 }
  10.             }
  11.         }
Add Comment
Please, Sign In to add comment