diff --git a/src/app/App.tsx b/src/app/App.tsx index e52af87e..293b6325 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1898,14 +1898,14 @@ export function App({ store, initialStatusMessage }: AppProps) {
Selection
-
{describeSelection(editorState.selection, brushList, playerStartList)}
+
{describeSelection(editorState.selection, brushList, editorState.document.entities)}
- {selectedPlayerStart !== null ? ( + {selectedEntity !== null ? ( <>
Entity Kind
-
Player Start
+
{getEntityKindLabel(selectedEntity.kind)}
@@ -1914,51 +1914,306 @@ export function App({ store, initialStatusMessage }: AppProps) { +
+ + + {selectedPlayerStart !== null ? ( +
+
Yaw
+
- + ) : null} -
-
Yaw
- -
+ {selectedSoundEmitter !== null ? ( + <> +
+
Audio Shape
+
+ + +
+
+ +
+
Playback
+
+ + +
+
+ + ) : null} + + {selectedTriggerVolume !== null ? ( + <> +
+
Size
+
+ + + +
+
+ +
+
Trigger Sources
+
+ + +
+
+ + ) : null} + + {selectedTeleportTarget !== null ? ( +
+
Yaw
+ +
+ ) : null} + + {selectedInteractable !== null ? ( + <> +
+
Interaction
+
+ + +
+
+ +
+
Prompt
+ +
+ + ) : null} ) : selectedBrush === null ? ( -
Select a brush or Player Start to edit authored properties.
+
Select a brush or entity to edit authored properties.
) : ( <>