摄像机区域的架构改动
This commit is contained in:
21
Assets/_Game/Scripts/Dialogue/DialogueDataSO.cs
Normal file
21
Assets/_Game/Scripts/Dialogue/DialogueDataSO.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Dialogue
|
||||
{
|
||||
/// <summary>
|
||||
/// 对话数据 ScriptableObject。
|
||||
/// </summary>
|
||||
[CreateAssetMenu(menuName = "BaseGames/Dialogue/DialogueData")]
|
||||
public class DialogueDataSO : ScriptableObject
|
||||
{
|
||||
[Tooltip("对话资产的唯一标识符,对应存档中 NPC 对话进度记录。")]
|
||||
public string dialogueId;
|
||||
|
||||
[Tooltip("对话参与者名称(用于 HUD 说话人名牌)。")]
|
||||
public string speakerName;
|
||||
|
||||
[TextArea(3, 8)]
|
||||
[Tooltip("对话内容占位文本,正式内容在 DialogueLineSO[] 中定义。")]
|
||||
public string placeholderText;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user