add new UI characters
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user