Skip to content

A confirmation dialog

Updated

Reset asks first: a Warning notification with Cancel and Reset actions reports the answer on its signal, and the script reads the UI Notification component of the dialog it opened. A tip above the crates is a UI Notification entity pinned in the world.

Press Scatter crates, then Reset level: a dialog asks first. Press Reset to send the crates home, or Cancel or a press outside it to keep them. Drag outside the panels to orbit the camera.

A confirmation dialog

Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.

ResetDialog.xrproj