using System; using UnityEngine; /// /// One "page" of dialogue: a speaker name + an array of text lines. /// Fill these out in the Inspector on a DialogueNPC component. /// [Serializable] public class DialogueLine { [Tooltip("Name shown above the text box. Leave blank to hide the name bar.")] public string speakerName = "???"; [Tooltip("Each entry is one page of dialogue. Press E to advance.")] [TextArea(2, 6)] public string[] pages = { "..." }; }