mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Support signals and callables in exposed dictionaries
This commit is contained in:
@@ -1051,6 +1051,14 @@ void EditorPropertyDictionary::update_property() {
|
||||
case Variant::RID: {
|
||||
prop = memnew(EditorPropertyRID);
|
||||
|
||||
} break;
|
||||
case Variant::SIGNAL: {
|
||||
prop = memnew(EditorPropertySignal);
|
||||
|
||||
} break;
|
||||
case Variant::CALLABLE: {
|
||||
prop = memnew(EditorPropertyCallable);
|
||||
|
||||
} break;
|
||||
case Variant::OBJECT: {
|
||||
if (Object::cast_to<EncodedObjectAsID>(value)) {
|
||||
|
||||
Reference in New Issue
Block a user