You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Allow setting the PropertyInfo class_name from GDScript
This commit is contained in:
@@ -1453,6 +1453,9 @@ void GDScriptInstance::get_property_list(List<PropertyInfo> *p_properties) const
|
|||||||
if (d.has("usage")) {
|
if (d.has("usage")) {
|
||||||
pinfo.usage = d["usage"];
|
pinfo.usage = d["usage"];
|
||||||
}
|
}
|
||||||
|
if (d.has("class_name")) {
|
||||||
|
pinfo.class_name = d["class_name"];
|
||||||
|
}
|
||||||
|
|
||||||
props.push_back(pinfo);
|
props.push_back(pinfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user