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 | 10 | public Image micImage; |
11 | 11 | public Image dictionaryImage; |
12 | 12 | public Image subtitlesImage; |
13 | - public Image infoImage; | |
14 | 13 | public GameObject sliderShadow; |
15 | 14 | |
16 | 15 | public Color enabledColor; |
... | ... | @@ -22,7 +21,6 @@ public class TutorialManager : MonoBehaviour { |
22 | 21 | "Tradução de Fala\n\nNessa opção, o que você falar será traduzido para LIBRAS", |
23 | 22 | "Dicionário\n\nNessa opção você pode ver e reproduzir todos os sinais disponíveis no VLibras", |
24 | 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 | 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 | 63 | case 1: return this.micImage; |
66 | 64 | case 2: return this.dictionaryImage; |
67 | 65 | case 3: return this.subtitlesImage; |
68 | - case 4: return this.infoImage; | |
69 | 66 | default: return null; |
70 | 67 | } |
71 | 68 | } |
72 | 69 | |
73 | 70 | public void next() |
74 | 71 | { |
75 | - if (index == 5) | |
72 | + if (index == 4) | |
76 | 73 | { |
77 | 74 | this.screenManager.hideScreen(); |
78 | 75 | select(0); |
... | ... | @@ -89,14 +86,14 @@ public class TutorialManager : MonoBehaviour { |
89 | 86 | |
90 | 87 | public void select(int index) |
91 | 88 | { |
92 | - if (this.index <= 4) | |
89 | + if (this.index <= 3) | |
93 | 90 | getButton().color = disabledColor; |
94 | 91 | else |
95 | 92 | this.sliderShadow.SetActive(true); |
96 | 93 | |
97 | 94 | this.index = index; |
98 | 95 | |
99 | - if (this.index <= 4) | |
96 | + if (this.index <= 3) | |
100 | 97 | { |
101 | 98 | getButton().color = enabledColor; |
102 | 99 | this.description.text = this.descriptions[index]; | ... | ... |