1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

OpenXR: Add runtime selection dropdown

This commit is contained in:
Bastiaan Olij
2024-01-18 15:45:40 +01:00
committed by Yuri Sizov
parent 1952f64b07
commit afd1dcf1b1
6 changed files with 200 additions and 2 deletions

View File

@@ -53,6 +53,11 @@ void OpenXREditorPlugin::make_visible(bool p_visible) {
OpenXREditorPlugin::OpenXREditorPlugin() {
action_map_editor = memnew(OpenXRActionMapEditor);
EditorNode::get_singleton()->add_bottom_panel_item(TTR("OpenXR Action Map"), action_map_editor);
#ifndef ANDROID_ENABLED
select_runtime = memnew(OpenXRSelectRuntime);
add_control_to_container(CONTAINER_TOOLBAR, select_runtime);
#endif
}
OpenXREditorPlugin::~OpenXREditorPlugin() {