// Start is called before the first frame update void Start() { leftUI = speakerLeft.GetComponent <DialogAdvancer>(); rightUI = speakerRight.GetComponent <DialogAdvancer>(); leftUI.Speaker = dialog.speakerLeft; rightUI.Speaker = dialog.spreakerRight; }
void SetLine(DialogAdvancer activeUI, DialogAdvancer inactiveUI, string text) { activeUI._Dialog = text; activeUI.Show(); inactiveUI.Hide(); }