Add player sprite and simple animation system

This commit is contained in:
WillJeynes
2026-08-25 13:20:59 +01:00
parent 48089856c7
commit 514ba1f26f
23 changed files with 1826 additions and 10 deletions
+8
View File
@@ -19,6 +19,9 @@ public class SpeechManager : Singleton<SpeechManager>
[CanBeNull] private string fulltext;
private Coroutine ccoroutine;
public string Status = "TALKING";
void Start()
{
@@ -50,6 +53,7 @@ public class SpeechManager : Singleton<SpeechManager>
public void StartText(KeyValuePair<string,string>[] buffer)
{
Status = "TALKING";
gameObject.SetActive(true);
foreach (var kvp in buffer)
{
@@ -109,6 +113,10 @@ public class SpeechManager : Singleton<SpeechManager>
}
}
Status = fulltext.Length > 30 ? "DONELONG" : "DONE";
fulltext = null;
}
}