21 lines
358 B
C#
21 lines
358 B
C#
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public class Dialogue
|
|
{
|
|
public string charName;
|
|
public bool isActive = false;
|
|
|
|
public DialogueLine[] sentences;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class DialogueLine
|
|
{
|
|
// is Doug or the character talking? Let's convo have 2 sides
|
|
public bool isDoug;
|
|
|
|
[TextArea(3, 10)]
|
|
public string line;
|
|
}
|