public void Interact(DialogPlayer player) { int index = Random.Range(0, this.lines.Length); string line = this.lines[index]; player.GetComponent <DialogSystem>().PushDialogLine(line); }
public void Interact(DialogPlayer player) { player.GetComponent <DialogSystem>().PushDialog(this.lines); }
public void Interact(DialogPlayer player) { player.GetComponent <DialogSystem>().PushDialogLine(this.text); }