summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 11:11:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 11:11:07 +0100
commitf4f98c4ecb02d1670b5be049858bc8182f1163fd (patch)
tree41927d17d26f135b3245b94b9ebacc4796753332 /editor/editor_node.h
parent87545bf8739121d054489d5228f195885ff80a00 (diff)
parent5d06843fcfe8a7c620ee3b31b82edc930433ad81 (diff)
Merge pull request #67055 from GuilhermeGSousa/custom-node-export
Added custom node export
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index 9452425dc8..b5d844558e 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -827,6 +827,8 @@ public:
Ref<Texture2D> get_object_icon(const Object *p_object, const String &p_fallback = "Object");
Ref<Texture2D> get_class_icon(const String &p_class, const String &p_fallback = "Object") const;
+ bool is_object_of_custom_type(const Object *p_object, const StringName &p_class);
+
void show_accept(const String &p_text, const String &p_title);
void show_save_accept(const String &p_text, const String &p_title);
void show_warning(const String &p_text, const String &p_title = TTR("Warning!"));