规范对话数据

This commit is contained in:
2026-04-20 19:49:18 +08:00
parent 0f928f6167
commit ef68ccc9e9
43 changed files with 1574 additions and 1092 deletions
@@ -9,6 +9,8 @@ namespace CustomComponent
public override string ActionName => "ChangeBackground";
public override bool RequiresCompletion => true;
public override void Execute(StoryDirectorComponent director)
{
if (director == null)
@@ -19,6 +19,8 @@ namespace CustomComponent
public virtual string ActionName => GetType().Name;
public virtual bool RequiresCompletion => false;
public bool IsMatch(StoryTriggerType triggerType, int triggerId)
{
if (!_enabled || _triggerType != triggerType)