From 65fbd489f3ca58f83bfd6d099129925c7d84bfc0 Mon Sep 17 00:00:00 2001 From: Mateus Pires Date: Mon, 26 Sep 2016 15:40:51 -0200 Subject: [PATCH] Removes info button prom tutorial --- Assets/Scripts/TutorialManager.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Assets/Scripts/TutorialManager.cs b/Assets/Scripts/TutorialManager.cs index 94bf7f2..ba86649 100644 --- a/Assets/Scripts/TutorialManager.cs +++ b/Assets/Scripts/TutorialManager.cs @@ -10,7 +10,6 @@ public class TutorialManager : MonoBehaviour { public Image micImage; public Image dictionaryImage; public Image subtitlesImage; - public Image infoImage; public GameObject sliderShadow; public Color enabledColor; @@ -22,7 +21,6 @@ public class TutorialManager : MonoBehaviour { "Tradução de Fala\n\nNessa opção, o que você falar será traduzido para LIBRAS", "Dicionário\n\nNessa opção você pode ver e reproduzir todos os sinais disponíveis no VLibras", "Legendas\n\nNessa opção você pode ativar e desativar as legendas enquanto o sinal é traduzido", - "Sobre o VLibras\n\nNessa opção você tem acesso a informações adicionais sobre nossa aplicação", "Barra de velocidade\n\nNa barra você pode escolher a velocidade que deseja visualizar o sinal", }; @@ -65,14 +63,13 @@ public class TutorialManager : MonoBehaviour { case 1: return this.micImage; case 2: return this.dictionaryImage; case 3: return this.subtitlesImage; - case 4: return this.infoImage; default: return null; } } public void next() { - if (index == 5) + if (index == 4) { this.screenManager.hideScreen(); select(0); @@ -89,14 +86,14 @@ public class TutorialManager : MonoBehaviour { public void select(int index) { - if (this.index <= 4) + if (this.index <= 3) getButton().color = disabledColor; else this.sliderShadow.SetActive(true); this.index = index; - if (this.index <= 4) + if (this.index <= 3) { getButton().color = enabledColor; this.description.text = this.descriptions[index]; -- libgit2 0.21.2