Add guard. tweak sound

This commit is contained in:
WillJeynes
2026-08-25 18:53:40 +01:00
parent c92d5a633a
commit e24539fbb1
12 changed files with 992 additions and 2 deletions
+2 -1
View File
@@ -51,13 +51,13 @@ public class SpeechManager : Singleton<SpeechManager>
}
else
{
AudioManager.Instance.PlaySound("Select");
gameObject.SetActive(false);
}
}
public void StartText(KeyValuePair<string,string>[] buffer)
{
Status = "TALKING";
gameObject.SetActive(true);
foreach (var kvp in buffer)
{
@@ -69,6 +69,7 @@ public class SpeechManager : Singleton<SpeechManager>
private void NextText()
{
Status = "TALKING";
AudioManager.Instance.PlaySound("Select");
var item = textBuffer.Dequeue();
ccoroutine = StartCoroutine(TypeTextUncapped(item.Key));