Remove unused method startDialogue from RuntimeInteractionDispatcher
This commit is contained in:
@@ -62,7 +62,6 @@ export interface RuntimeInteractionDispatcher {
|
||||
dialogueId: string | null,
|
||||
source?: RuntimeDialogueStartSource
|
||||
): void;
|
||||
startDialogue?(dialogueId: string, source?: RuntimeDialogueStartSource): void;
|
||||
dispatchControlEffect?(effect: ControlEffect, link: InteractionLink): void;
|
||||
}
|
||||
|
||||
@@ -761,14 +760,6 @@ export class RuntimeInteractionSystem {
|
||||
trigger: link.trigger
|
||||
});
|
||||
return;
|
||||
case "startDialogue":
|
||||
dispatcher.startDialogue?.(step.dialogueId, {
|
||||
kind: "interactionLink",
|
||||
sourceEntityId: link.sourceEntityId,
|
||||
linkId: link.id,
|
||||
trigger: link.trigger
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user