chore: initial commit
This commit is contained in:
14
Assets/Scripts/Dialogue/DialogueEventChannelSO.cs
Normal file
14
Assets/Scripts/Dialogue/DialogueEventChannelSO.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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> { }
|
||||
}
|
||||
Reference in New Issue
Block a user