summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorYuri Sizov <pycbouh@users.noreply.github.com>2020-04-05 17:19:24 +0300
committerYuri Sizov <yuris@humnom.net>2020-07-06 17:39:16 +0300
commit49f6dc5004931f17a7be008b2159cd5915cd897d (patch)
treefab50790b4c7cf3c5d977c6bce51377c0aa649ce /editor/editor_node.h
parentb43fb407b1fe214ffbe7e8bcd1432f291ac695e5 (diff)
downloadredot-engine-49f6dc5004931f17a7be008b2159cd5915cd897d.tar.gz
Expose methods to play scene 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 {