public void SetaDireita() { x++; if (x == 2) { Quadrinho01.SetActive(false); Quadrinho02.SetActive(true); SetaEsq.interactable = true; } if (x == 3) { Quadrinho02.SetActive(false); Quadrinho03.SetActive(true); } if (x == 4) { Quadrinho03.SetActive(false); Quadrinho04.SetActive(true); Painel01.SetActive(false); Painel02.SetActive(true); } if (x == 5) { Quadrinho04.SetActive(false); Quadrinho05.SetActive(true); } if (x == 6) { Quadrinho05.SetActive(false); Quadrinho06.SetActive(true); } if (x == 7) { Quadrinho06.SetActive(false); Quadrinho07.SetActive(true); } if (x == 8) { Quadrinho07.SetActive(false); Quadrinho08.SetActive(true); } if (x == 9) { Quadrinho08.SetActive(false); Quadrinho09.SetActive(true); SetaDir.interactable = false; BtnContinuar.interactable = true; } }
public void SetaEsquerda() { x--; if (x == 1) { Quadrinho01.SetActive(true); Quadrinho02.SetActive(false); SetaEsq.interactable = false; } if (x == 2) { Quadrinho02.SetActive(true); Quadrinho03.SetActive(false); } if (x == 3) { Quadrinho03.SetActive(true); Quadrinho04.SetActive(false); Painel01.SetActive(true); Painel02.SetActive(false); } if (x == 4) { Quadrinho04.SetActive(true); Quadrinho05.SetActive(false); } if (x == 5) { Quadrinho05.SetActive(true); Quadrinho06.SetActive(false); } if (x == 6) { Quadrinho06.SetActive(true); Quadrinho07.SetActive(false); } if (x == 7) { Quadrinho07.SetActive(true); Quadrinho08.SetActive(false); } if (x == 8) { Quadrinho08.SetActive(true); Quadrinho09.SetActive(false); SetaDir.interactable = true; } }
public void SetaDireita() { x++; if (x == 2) { Quadrinho01.SetActive(false); Quadrinho02.SetActive(true); SetaEsq.interactable = true; } if (x == 3) { Quadrinho02.SetActive(false); Quadrinho03.SetActive(true); } if (x == 4) { Quadrinho03.SetActive(false); Quadrinho04.SetActive(true); } if (x == 5) { Quadrinho04.SetActive(false); Quadrinho05.SetActive(true); } if (x == 6) { Quadrinho05.SetActive(false); Quadrinho06.SetActive(true); } if (x == 7) { Quadrinho06.SetActive(false); Quadrinho07.SetActive(true); } if (x == 8) { Quadrinho07.SetActive(false); Quadrinho08.SetActive(true); } if (x == 9) { Quadrinho08.SetActive(false); Quadrinho09.SetActive(true); } if (x == 10) { Quadrinho09.SetActive(false); Quadrinho10.SetActive(true); } if (x == 11) { Quadrinho10.SetActive(false); Quadrinho11.SetActive(true); } if (x == 12) { Quadrinho11.SetActive(false); Quadrinho12.SetActive(true); } if (x == 13) { Quadrinho12.SetActive(false); Quadrinho13.SetActive(true); } if (x == 14) { Quadrinho13.SetActive(false); Quadrinho14.SetActive(true); } if (x == 15) { Quadrinho14.SetActive(false); Quadrinho15.SetActive(true); } if (x == 16) { Quadrinho15.SetActive(false); Quadrinho16.SetActive(true); } if (x == 17) { Quadrinho16.SetActive(false); Quadrinho17.SetActive(true); } if (x == 18) { Quadrinho17.SetActive(false); Quadrinho18.SetActive(true); SetaDir.interactable = false; BtnContinuar.interactable = true; } }