Remove unused 'sceneExits' from runtime scene collections
This commit is contained in:
@@ -1280,8 +1280,7 @@ function buildRuntimeSceneCollections(
|
||||
soundEmitters: [],
|
||||
triggerVolumes: [],
|
||||
teleportTargets: [],
|
||||
interactables: [],
|
||||
sceneExits: []
|
||||
interactables: []
|
||||
};
|
||||
const localLights: RuntimeLocalLightCollection = {
|
||||
pointLights: [],
|
||||
@@ -1400,17 +1399,6 @@ function buildRuntimeSceneCollections(
|
||||
interactionEnabled: entity.interactionEnabled
|
||||
});
|
||||
break;
|
||||
case "sceneExit":
|
||||
runtimeEntities.sceneExits.push({
|
||||
entityId: entity.id,
|
||||
position: cloneVec3(entity.position),
|
||||
radius: entity.radius,
|
||||
prompt: entity.prompt,
|
||||
interactionEnabled: entity.interactionEnabled,
|
||||
targetSceneId: entity.targetSceneId,
|
||||
targetEntryEntityId: entity.targetEntryEntityId
|
||||
});
|
||||
break;
|
||||
default:
|
||||
assertNever(entity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user