EditorInterface: Add get_open_scene_roots to retrieve all opened scenes root nodes

This commit is contained in:
Cyclone
2024-10-05 07:39:10 +03:30
committed by Rémi Verschelde
parent b24656090f
commit 144d95d96c
3 changed files with 25 additions and 5 deletions

View File

@ -171,6 +171,7 @@ public:
void reload_scene_from_path(const String &scene_path);
PackedStringArray get_open_scenes() const;
TypedArray<Node> get_open_scene_roots() const;
Node *get_edited_scene_root() const;
Error save_scene();