Support signals and callables in exposed dictionaries
This commit is contained in:
parent
14fdd28de9
commit
18e4b06162
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue