Add NPC option to entity creation menu
This commit is contained in:
@@ -8189,6 +8189,15 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
testId: "add-menu-scene-entry",
|
testId: "add-menu-scene-entry",
|
||||||
onSelect: () => beginEntityCreation("sceneEntry")
|
onSelect: () => beginEntityCreation("sceneEntry")
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
kind: "action",
|
||||||
|
label: "NPC",
|
||||||
|
testId: "add-menu-npc",
|
||||||
|
onSelect: () =>
|
||||||
|
beginEntityCreation("npc", {
|
||||||
|
modelAssetId: modelAssetList[0]?.id ?? null
|
||||||
|
})
|
||||||
|
},
|
||||||
{
|
{
|
||||||
kind: "action",
|
kind: "action",
|
||||||
label: "Sound Emitter",
|
label: "Sound Emitter",
|
||||||
|
|||||||
Reference in New Issue
Block a user