Example #1
0
    // 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;
    }
Example #2
0
 void SetLine(DialogAdvancer activeUI, DialogAdvancer inactiveUI, string text)
 {
     activeUI._Dialog = text;
     activeUI.Show();
     inactiveUI.Hide();
 }