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