add new UI characters

This commit is contained in:
WillJeynes
2026-08-29 21:20:04 +01:00
parent b81a06362b
commit 8a591a557f
10 changed files with 526 additions and 3 deletions
+19
View File
@@ -118,6 +118,25 @@ public class SpeechManager : Singleton<SpeechManager>
{
playerPanel.SetActive(false);
otherPanel.SetActive(true);
otherPanel.transform.GetChild(0).gameObject.SetActive(true);
otherPanel.transform.GetChild(1).gameObject.SetActive(false);
otherPanel.transform.GetChild(2).gameObject.SetActive(false);
}
else if (speaker == "HORSE")
{
playerPanel.SetActive(false);
otherPanel.SetActive(true);
otherPanel.transform.GetChild(0).gameObject.SetActive(false);
otherPanel.transform.GetChild(1).gameObject.SetActive(true);
otherPanel.transform.GetChild(2).gameObject.SetActive(false);
}
else if (speaker == "JOKER")
{
playerPanel.SetActive(false);
otherPanel.SetActive(true);
otherPanel.transform.GetChild(0).gameObject.SetActive(false);
otherPanel.transform.GetChild(1).gameObject.SetActive(false);
otherPanel.transform.GetChild(2).gameObject.SetActive(true);
}
else
{