mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add EditorInterface.get_selected_paths()
Exposes the selected paths in the editor filesystem dock. Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424 Also renamed the old `get_selected_path` to `get_selected_directory` to better match the already existing get_current_path function.
This commit is contained in:
@@ -94,8 +94,9 @@ public:
|
||||
EditorCommandPalette *get_command_palette() const;
|
||||
|
||||
void select_file(const String &p_file);
|
||||
String get_selected_path() const;
|
||||
Vector<String> get_selected_paths() const;
|
||||
String get_current_path() const;
|
||||
String get_current_directory() const;
|
||||
|
||||
void inspect_object(Object *p_obj, const String &p_for_property = String(), bool p_inspector_only = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user