Add get_edited_property_value() shorthand method

This commit is contained in:
kobewi
2023-05-26 09:13:24 +02:00
parent 2eec9a67d5
commit 010ce46ffa
8 changed files with 65 additions and 64 deletions
+1
View File
@@ -149,6 +149,7 @@ public:
Object *get_edited_object();
StringName get_edited_property() const;
inline Variant get_edited_property_value() const { return object->get(property); }
EditorInspector *get_parent_inspector() const;
void set_doc_path(const String &p_doc_path);