summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-06 18:13:23 +0200
committerGitHub <noreply@github.com>2020-07-06 18:13:23 +0200
commitf8c066e97eec9c936d5e809328144d7af21acd0d (patch)
tree728fb622371fa839b7c09bee7da677d7b72297db /editor/editor_node.h
parenta535b9160dbbcfad1884ff4a147672a0eb366a9d (diff)
parent49f6dc5004931f17a7be008b2159cd5915cd897d (diff)
Merge pull request #37619 from pycbouh/expose-plugin-run-scene
Expose methods to play scenes from plugin code
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index f6cae466ff..dec28b0d2b 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -865,7 +865,11 @@ public:
bool ensure_main_scene(bool p_from_native);
void run_play();
+ void run_play_current();
+ void run_play_custom(const String &p_custom);
void run_stop();
+ bool is_run_playing() const;
+ String get_run_playing_scene() const;
};
struct EditorProgress {