Remove unused method startDialogue from RuntimeInteractionDispatcher
This commit is contained in:
@@ -62,7 +62,6 @@ export interface RuntimeInteractionDispatcher {
|
|||||||
dialogueId: string | null,
|
dialogueId: string | null,
|
||||||
source?: RuntimeDialogueStartSource
|
source?: RuntimeDialogueStartSource
|
||||||
): void;
|
): void;
|
||||||
startDialogue?(dialogueId: string, source?: RuntimeDialogueStartSource): void;
|
|
||||||
dispatchControlEffect?(effect: ControlEffect, link: InteractionLink): void;
|
dispatchControlEffect?(effect: ControlEffect, link: InteractionLink): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -761,14 +760,6 @@ export class RuntimeInteractionSystem {
|
|||||||
trigger: link.trigger
|
trigger: link.trigger
|
||||||
});
|
});
|
||||||
return;
|
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