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

@ -32,6 +32,7 @@
#define OPENXR_EDITOR_PLUGIN_H
#include "openxr_action_map_editor.h"
#include "openxr_select_runtime.h"
#include "editor/editor_plugin.h"
@ -39,6 +40,9 @@ class OpenXREditorPlugin : public EditorPlugin {
GDCLASS(OpenXREditorPlugin, EditorPlugin);
OpenXRActionMapEditor *action_map_editor = nullptr;
#ifndef ANDROID_ENABLED
OpenXRSelectRuntime *select_runtime = nullptr;
#endif
public:
virtual String get_name() const override { return "OpenXRPlugin"; }