Add descriptions for tile properties

This commit is contained in:
kobewi
2023-12-06 23:10:32 +01:00
parent 2f73a059ce
commit 6e31c413b6
7 changed files with 86 additions and 11 deletions

View File

@ -505,6 +505,7 @@ class EditorInspector : public ScrollContainer {
HashMap<StringName, HashMap<StringName, String>> doc_path_cache;
HashSet<StringName> restart_request_props;
HashMap<String, String> custom_property_descriptions;
HashMap<ObjectID, int> scroll_cache;
@ -612,6 +613,9 @@ public:
void set_property_prefix(const String &p_prefix);
String get_property_prefix() const;
void add_custom_property_description(const String &p_class, const String &p_property, const String &p_description);
String get_custom_property_description(const String &p_property) const;
void set_object_class(const String &p_class);
String get_object_class() const;