32 lines
866 B
C#
32 lines
866 B
C#
using UnityEngine;
|
|
using OctoCore.Localization;
|
|
|
|
namespace OctoCore.Dialogue
|
|
{
|
|
/// <summary>
|
|
/// Single dialogue entry with speaker, text, and choices.
|
|
/// </summary>
|
|
[System.Serializable]
|
|
public class OctoDialogueEntry
|
|
{
|
|
/// <summary>
|
|
/// Speaker for this entry.
|
|
/// </summary>
|
|
[Tooltip("Speaker for this entry")]
|
|
public Data.OctoSpeakerData Speaker;
|
|
|
|
/// <summary>
|
|
/// Localized dialogue text.
|
|
/// </summary>
|
|
[Tooltip("Localized dialogue text")]
|
|
public OctoLocalizedTextData Text;
|
|
|
|
/// <summary>
|
|
/// Available choices for this entry.
|
|
/// If empty, dialogue continues automatically or ends.
|
|
/// </summary>
|
|
[Tooltip("Available choices (empty = auto-continue or end)")]
|
|
public OctoDialogueChoice[] Choices;
|
|
}
|
|
}
|