Add support for 'runSequence' interaction link in migrate-scene-document.ts
This commit is contained in:
@@ -3846,6 +3846,16 @@ function readInteractionLink(value: unknown, label: string): InteractionLink {
|
|||||||
trigger,
|
trigger,
|
||||||
dialogueId: action.dialogueId
|
dialogueId: action.dialogueId
|
||||||
});
|
});
|
||||||
|
case "runSequence":
|
||||||
|
return createRunSequenceInteractionLink({
|
||||||
|
id: expectString(value.id, `${label}.id`),
|
||||||
|
sourceEntityId: expectString(
|
||||||
|
value.sourceEntityId,
|
||||||
|
`${label}.sourceEntityId`
|
||||||
|
),
|
||||||
|
trigger,
|
||||||
|
sequenceId: action.sequenceId
|
||||||
|
});
|
||||||
case "control":
|
case "control":
|
||||||
return createControlInteractionLink({
|
return createControlInteractionLink({
|
||||||
id: expectString(value.id, `${label}.id`),
|
id: expectString(value.id, `${label}.id`),
|
||||||
|
|||||||
Reference in New Issue
Block a user