diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-06 18:13:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 18:13:23 +0200 |
commit | f8c066e97eec9c936d5e809328144d7af21acd0d (patch) | |
tree | 728fb622371fa839b7c09bee7da677d7b72297db /editor/editor_node.h | |
parent | a535b9160dbbcfad1884ff4a147672a0eb366a9d (diff) | |
parent | 49f6dc5004931f17a7be008b2159cd5915cd897d (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.h | 4 |
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 { |