Commit 65fbd489f3ca58f83bfd6d099129925c7d84bfc0
1 parent
f5ca069a
Exists in
master
and in
6 other branches
Removes info button prom tutorial
Showing
1 changed file
with
3 additions
and
6 deletions
Show diff stats
Assets/Scripts/TutorialManager.cs
| @@ -10,7 +10,6 @@ public class TutorialManager : MonoBehaviour { | @@ -10,7 +10,6 @@ public class TutorialManager : MonoBehaviour { | ||
| 10 | public Image micImage; | 10 | public Image micImage; |
| 11 | public Image dictionaryImage; | 11 | public Image dictionaryImage; |
| 12 | public Image subtitlesImage; | 12 | public Image subtitlesImage; |
| 13 | - public Image infoImage; | ||
| 14 | public GameObject sliderShadow; | 13 | public GameObject sliderShadow; |
| 15 | 14 | ||
| 16 | public Color enabledColor; | 15 | public Color enabledColor; |
| @@ -22,7 +21,6 @@ public class TutorialManager : MonoBehaviour { | @@ -22,7 +21,6 @@ public class TutorialManager : MonoBehaviour { | ||
| 22 | "Tradução de Fala\n\nNessa opção, o que você falar será traduzido para LIBRAS", | 21 | "Tradução de Fala\n\nNessa opção, o que você falar será traduzido para LIBRAS", |
| 23 | "Dicionário\n\nNessa opção você pode ver e reproduzir todos os sinais disponíveis no VLibras", | 22 | "Dicionário\n\nNessa opção você pode ver e reproduzir todos os sinais disponíveis no VLibras", |
| 24 | "Legendas\n\nNessa opção você pode ativar e desativar as legendas enquanto o sinal é traduzido", | 23 | "Legendas\n\nNessa opção você pode ativar e desativar as legendas enquanto o sinal é traduzido", |
| 25 | - "Sobre o VLibras\n\nNessa opção você tem acesso a informações adicionais sobre nossa aplicação", | ||
| 26 | "Barra de velocidade\n\nNa barra você pode escolher a velocidade que deseja visualizar o sinal", | 24 | "Barra de velocidade\n\nNa barra você pode escolher a velocidade que deseja visualizar o sinal", |
| 27 | }; | 25 | }; |
| 28 | 26 | ||
| @@ -65,14 +63,13 @@ public class TutorialManager : MonoBehaviour { | @@ -65,14 +63,13 @@ public class TutorialManager : MonoBehaviour { | ||
| 65 | case 1: return this.micImage; | 63 | case 1: return this.micImage; |
| 66 | case 2: return this.dictionaryImage; | 64 | case 2: return this.dictionaryImage; |
| 67 | case 3: return this.subtitlesImage; | 65 | case 3: return this.subtitlesImage; |
| 68 | - case 4: return this.infoImage; | ||
| 69 | default: return null; | 66 | default: return null; |
| 70 | } | 67 | } |
| 71 | } | 68 | } |
| 72 | 69 | ||
| 73 | public void next() | 70 | public void next() |
| 74 | { | 71 | { |
| 75 | - if (index == 5) | 72 | + if (index == 4) |
| 76 | { | 73 | { |
| 77 | this.screenManager.hideScreen(); | 74 | this.screenManager.hideScreen(); |
| 78 | select(0); | 75 | select(0); |
| @@ -89,14 +86,14 @@ public class TutorialManager : MonoBehaviour { | @@ -89,14 +86,14 @@ public class TutorialManager : MonoBehaviour { | ||
| 89 | 86 | ||
| 90 | public void select(int index) | 87 | public void select(int index) |
| 91 | { | 88 | { |
| 92 | - if (this.index <= 4) | 89 | + if (this.index <= 3) |
| 93 | getButton().color = disabledColor; | 90 | getButton().color = disabledColor; |
| 94 | else | 91 | else |
| 95 | this.sliderShadow.SetActive(true); | 92 | this.sliderShadow.SetActive(true); |
| 96 | 93 | ||
| 97 | this.index = index; | 94 | this.index = index; |
| 98 | 95 | ||
| 99 | - if (this.index <= 4) | 96 | + if (this.index <= 3) |
| 100 | { | 97 | { |
| 101 | getButton().color = enabledColor; | 98 | getButton().color = enabledColor; |
| 102 | this.description.text = this.descriptions[index]; | 99 | this.description.text = this.descriptions[index]; |