Update document migration to include NPC target anchor settings and types

This commit is contained in:
2026-05-11 21:54:52 +02:00
parent 77283403fa
commit b8ac03fda5

View File

@@ -35,12 +35,15 @@ import {
DEFAULT_PLAYER_START_INTERACTION_REACH_METERS, DEFAULT_PLAYER_START_INTERACTION_REACH_METERS,
DEFAULT_PLAYER_START_KEYBOARD_BINDINGS, DEFAULT_PLAYER_START_KEYBOARD_BINDINGS,
DEFAULT_NPC_SCALE, DEFAULT_NPC_SCALE,
DEFAULT_NPC_TARGET_ANCHOR_MODE,
DEFAULT_NPC_TARGET_ANCHOR_OFFSET,
DEFAULT_NPC_TARGETABLE, DEFAULT_NPC_TARGETABLE,
DEFAULT_PLAYER_START_TARGET_BUTTON_CYCLES_ACTIVE_TARGET, DEFAULT_PLAYER_START_TARGET_BUTTON_CYCLES_ACTIVE_TARGET,
DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES, DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES,
createNpcAlwaysPresence, createNpcAlwaysPresence,
createNpcEntity,
createNpcColliderSettings, createNpcColliderSettings,
createNpcEntity,
createNpcTargetAnchor,
createNpcTimeWindowPresence, createNpcTimeWindowPresence,
createPlayerStartColliderSettings, createPlayerStartColliderSettings,
createPlayerStartInputBindings, createPlayerStartInputBindings,
@@ -50,6 +53,7 @@ import {
isCameraRigTargetKind, isCameraRigTargetKind,
isCameraRigTransitionMode, isCameraRigTransitionMode,
isNpcPresenceMode, isNpcPresenceMode,
isNpcTargetAnchorMode,
normalizeEntityName, normalizeEntityName,
createPointLightEntity, createPointLightEntity,
createPlayerStartEntity, createPlayerStartEntity,
@@ -69,6 +73,7 @@ import {
isPlayerStartNavigationMode, isPlayerStartNavigationMode,
type EntityInstance, type EntityInstance,
type NpcPresence, type NpcPresence,
type NpcTargetAnchor,
type PlayerStartGamepadActionBinding, type PlayerStartGamepadActionBinding,
type PlayerStartGamepadBinding, type PlayerStartGamepadBinding,
type PlayerStartGamepadCameraLookBinding, type PlayerStartGamepadCameraLookBinding,