chchchchchaaaaangeeesssss
This commit is contained in:
@@ -97,13 +97,18 @@ public class SpeechManager : Singleton<SpeechManager>
|
||||
|
||||
var item = textBuffer.Dequeue();
|
||||
speaker = item.Value;
|
||||
if (LevelLoader.Instance.GlobalModifier == "HORSE" && speaker == "GUARD")
|
||||
if (LevelLoader.Instance.GlobalModifier == "HORSE" && speaker == "HORSE")
|
||||
{
|
||||
Debug.LogError("HORSE");
|
||||
mainText.text = item.Key;
|
||||
playerPanel.SetActive(false);
|
||||
otherPanel.SetActive(false);
|
||||
AudioManager.Instance.PlaySound("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);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user