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
+21
View File
@@ -0,0 +1,21 @@
using UnityEngine;
public class SpeechVisualController : MonoBehaviour
{
private int status = 0;
private Animator animator;
void Start()
{
animator = GetComponent<Animator>();
}
void Update()
{
if (SpeechManager.Instance.Status != "TALKING")
{
animator.SetInteger("SetTalkEnd", SpeechManager.Instance.Status == "DONELONG"?1:2);
}
}
}