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

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> { }
}