Merge pull request #107671 from dsnopek/editor-run-control

Allow editor plugins to modify run arguments
This commit is contained in:
Thaddeus Crews
2025-10-20 18:09:32 -05:00
6 changed files with 37 additions and 1 deletions

View File

@ -730,6 +730,7 @@ public:
void _on_plugin_ready(Object *p_script, const String &p_activate_name);
bool call_build();
void call_run_scene(const String &p_scene, Vector<String> &r_args);
// This is a very naive estimation, but we need something now. Will be reworked later.
bool is_editor_ready() const { return is_inside_tree() && !waiting_for_first_scan; }