Change interactionLinks to an array in runtime-interaction-system.test.ts
This commit is contained in:
@@ -1062,14 +1062,14 @@ describe("RuntimeInteractionSystem", () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
runtimeScene.interactionLinks = {
|
runtimeScene.interactionLinks = [
|
||||||
"link-npc-merchant-talk": createRunSequenceInteractionLink({
|
createRunSequenceInteractionLink({
|
||||||
id: "link-npc-merchant-talk",
|
id: "link-npc-merchant-talk",
|
||||||
sourceEntityId: "entity-npc-merchant",
|
sourceEntityId: "entity-npc-merchant",
|
||||||
trigger: "click",
|
trigger: "click",
|
||||||
sequenceId: "sequence-merchant-talk"
|
sequenceId: "sequence-merchant-talk"
|
||||||
})
|
})
|
||||||
};
|
];
|
||||||
|
|
||||||
const interactionSystem = new RuntimeInteractionSystem();
|
const interactionSystem = new RuntimeInteractionSystem();
|
||||||
const prompt = interactionSystem.resolveClickInteractionPrompt(
|
const prompt = interactionSystem.resolveClickInteractionPrompt(
|
||||||
|
|||||||
Reference in New Issue
Block a user