Add dialogue to build-runtime-scene test case
This commit is contained in:
@@ -620,10 +620,22 @@ describe("buildRuntimeSceneFromDocument", () => {
|
|||||||
y: 0,
|
y: 0,
|
||||||
z: -2
|
z: -2
|
||||||
},
|
},
|
||||||
yawDegrees: 45,
|
yawDegrees: 45,
|
||||||
modelAssetId: modelAsset.id,
|
modelAssetId: modelAsset.id,
|
||||||
dialogues: [],
|
dialogues: [
|
||||||
defaultDialogueId: null,
|
{
|
||||||
|
id: "dialogue-warning",
|
||||||
|
title: "Warning",
|
||||||
|
lines: [
|
||||||
|
{
|
||||||
|
id: "dialogue-line-warning-1",
|
||||||
|
speakerName: "Operator",
|
||||||
|
text: "The generator is unstable."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
defaultDialogueId: "dialogue-warning",
|
||||||
activeRoutineTitle: null,
|
activeRoutineTitle: null,
|
||||||
animationClipName: null,
|
animationClipName: null,
|
||||||
animationLoop: undefined,
|
animationLoop: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user