Added a group for the toplevel property in Node2D.

This commit is contained in:
Relintai 2024-05-11 10:37:52 +02:00
parent cbbdc7b32d
commit 3b84801274

View File

@ -476,6 +476,7 @@ void Node2D::_bind_methods() {
ADD_GROUP("Sort", "sort_");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "sort_enabled"), "set_sort_enabled", "is_sort_enabled");
ADD_GROUP("Toplevel", "");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "toplevel"), "set_as_toplevel", "is_set_as_toplevel");
}