BORKED, SO BORKED
This commit is contained in:
@@ -34,7 +34,7 @@ public class SpeechManager : Singleton<SpeechManager>
|
||||
otherPanel = transform.FindChildRecursive("OTHERPANEL").gameObject;
|
||||
|
||||
mainText = transform.FindChildRecursive("TEXTPANEL").GetComponentInChildren<TextMeshProUGUI>();
|
||||
|
||||
Debug.LogWarning(mainText);
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
@@ -85,6 +85,11 @@ public class SpeechManager : Singleton<SpeechManager>
|
||||
|
||||
private void NextText()
|
||||
{
|
||||
playerPanel = transform.FindChildRecursive("PLAYERPANEL").gameObject;
|
||||
otherPanel = transform.FindChildRecursive("OTHERPANEL").gameObject;
|
||||
|
||||
mainText = transform.FindChildRecursive("TEXTPANEL").GetComponentInChildren<TextMeshProUGUI>();
|
||||
|
||||
var item = textBuffer.Dequeue();
|
||||
speaker = item.Value;
|
||||
if (LevelLoader.Instance.GlobalModifier == "HORSE" && speaker == "GUARD")
|
||||
|
||||
Reference in New Issue
Block a user