Files
zeling_v2/Assets/_Game/Scripts/Dialogue/DialogueEventChannelSO.cs
T

15 lines
595 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using BaseGames.Core.Events;
using UnityEngine;
namespace BaseGames.Dialogue
{
/// <summary>
/// 对话请求事件频道(EVT_DialogueStartRequest)。
/// ⚠️ 负载为 DialogueDataSOSO 引用),不是 struct,避免序列化开销。
/// 发布:NpcInteractable(玩家触发互动)、CutsceneTrigger
/// 订阅:DialogueController(弹出对话 UI 并开始播放)
/// </summary>
[CreateAssetMenu(menuName = "BaseGames/Events/Dialogue/DialogueStartRequest")]
public class DialogueEventChannelSO : BaseEventChannelSO<DialogueDataSO> { }
}