24 lines
843 B
C#
24 lines
843 B
C#
using UnityEngine;
|
||
|
||
namespace BaseGames.Dialogue
|
||
{
|
||
/// <summary>
|
||
/// 对话数据 ScriptableObject(存根)。
|
||
/// Phase 3 Dialogue 模块实现时填充完整字段(对话行、Speaker、选项分支等)。
|
||
/// 此处仅声明类型,供 DialogueEventChannelSO 引用。
|
||
/// </summary>
|
||
[CreateAssetMenu(menuName = "Dialogue/DialogueData")]
|
||
public class DialogueDataSO : ScriptableObject
|
||
{
|
||
[Tooltip("对话资产的唯一标识符,对应存档中 NPC 对话进度记录。")]
|
||
public string dialogueId;
|
||
|
||
[Tooltip("对话参与者名称(用于 HUD 说话人名牌)。")]
|
||
public string speakerName;
|
||
|
||
[TextArea(3, 8)]
|
||
[Tooltip("Phase 3 前的占位文本;正式内容在 DialogueLineSO[] 中定义。")]
|
||
public string placeholderText;
|
||
}
|
||
}
|