Currently, DialogMgt.createDialog() uses passed parameters to decide whether creating a floating dialog or a top-of-screen dialog. Just use a different function rather than all the conditional code for creating a static menu over a dialog.
Also think about how to handle UI for WebXR -- can UI be generalized or is it two separate systems?
Currently, DialogMgt.createDialog() uses passed parameters to decide whether creating a floating dialog or a top-of-screen dialog. Just use a different function rather than all the conditional code for creating a static menu over a dialog.
Also think about how to handle UI for WebXR -- can UI be generalized or is it two separate systems?