OctoCore 0.0.1
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user