EchoTrio
 
Loading...
Searching...
No Matches
ScriptedDiscussion.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using UnityEngine;
3
4namespace EchoTrio {
5 /// ScriptedDiscussions allow the designer to make the actors speak scripted lines.
6 [CreateAssetMenu(fileName = "ScriptedDiscussion", menuName = "EchoTrio/ScriptedDiscussion")]
8 [System.Serializable] public class Dialogue {
9 public Persona speaker = Persona.Athena;
10 [TextArea(minLines: 4, maxLines: 16)] public string message = string.Empty;
11 public Emotion emotion = Emotion.Neutral; // For now, this isn't being used.
12 }
13
14 [Header("Scripted Discussion Settings")]
15 [SerializeField] private List<Dialogue> dialogues = new List<Dialogue>();
16
17 public List<Dialogue> GetDialogues() { return dialogues; }
18 }
19}
Discussions are a way for the designers to create a way for the actors to interact beyond the standar...
Definition: Discussion.cs:5
ScriptedDiscussions allow the designer to make the actors speak scripted lines.
List< Dialogue > GetDialogues()
Emotion
Definition: Emotion.cs:4
Persona
Personas the actors will role-play.
Definition: Persona.cs:5