Commit b3257a141fc7d2d49d215c663adb8a624cb472a7
1 parent
62387b4d
Exists in
master
and in
9 other branches
teste
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
Assets/Scripts/PlayerManager.cs
... | ... | @@ -18,6 +18,7 @@ public class PlayerManager : GenericPlayerManager { |
18 | 18 | private const string SERVER_URL = "http://vlibras.lavid.ufpb.br:5000/glosa?texto="; |
19 | 19 | |
20 | 20 | public GameObject loading_snippet; |
21 | + public Button button_connection_error; | |
21 | 22 | |
22 | 23 | //private const string BASE_URL = "http://150.165.205.9/anims/AssetBundles/0_DefaultBundles/"; |
23 | 24 | public InputField INFIELD; |
... | ... | @@ -101,14 +102,9 @@ public class PlayerManager : GenericPlayerManager { |
101 | 102 | // Called from microphone icon at main interface |
102 | 103 | public void callVoiceRecognizer() |
103 | 104 | { |
104 | - /* | |
105 | - //base.voiceRecognizer.callConnectionError(); | |
106 | 105 | CheckConnection(); |
107 | - //StartCoroutine(CheckConnection()); | |
108 | - Debug.Log("passou"); | |
109 | 106 | if(thereIsConnection) |
110 | 107 | { |
111 | - //base.glosa = base.voiceRecognizer.callRecognition(); | |
112 | 108 | base.glosa = base.voiceRecognizer.callRecognition(); |
113 | 109 | if(!base.glosa.Equals("")) |
114 | 110 | { |
... | ... | @@ -142,4 +138,8 @@ public class PlayerManager : GenericPlayerManager { |
142 | 138 | |
143 | 139 | } |
144 | 140 | } |
141 | + | |
142 | + void ConnectionError(){ | |
143 | + | |
144 | + } | |
145 | 145 | } | ... | ... |