Пример #1
0
    public void Interact(DialogPlayer player)
    {
        int index = Random.Range(0, this.lines.Length);

        string line = this.lines[index];

        player.GetComponent <DialogSystem>().PushDialogLine(line);
    }
Пример #2
0
 public void Interact(DialogPlayer player)
 {
     player.GetComponent <DialogSystem>().PushDialog(this.lines);
 }
Пример #3
0
 public void Interact(DialogPlayer player)
 {
     player.GetComponent <DialogSystem>().PushDialogLine(this.text);
 }