15 lines
585 B
C#
15 lines
585 B
C#
using BaseGames.Core.Events;
|
||
using UnityEngine;
|
||
|
||
namespace BaseGames.Dialogue
|
||
{
|
||
/// <summary>
|
||
/// 对话请求事件频道(EVT_DialogueStartRequest)。
|
||
/// ⚠️ 负载为 DialogueDataSO(SO 引用),不是 struct,避免序列化开销。
|
||
/// 发布:NpcInteractable(玩家触发互动)、CutsceneTrigger
|
||
/// 订阅:DialogueController(弹出对话 UI 并开始播放)
|
||
/// </summary>
|
||
[CreateAssetMenu(menuName = "Events/Dialogue/DialogueStartRequest")]
|
||
public class DialogueEventChannelSO : BaseEventChannelSO<DialogueDataSO> { }
|
||
}
|