规范对话数据
This commit is contained in:
+2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user