mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Improve handling of custom types
This commit is contained in:
parent
b5c053321c
commit
a3309215c2
7 changed files with 52 additions and 16 deletions
|
|
@ -184,6 +184,9 @@ public:
|
|||
Variant instance_custom_type(const String &p_type, const String &p_inherits);
|
||||
void remove_custom_type(const String &p_type);
|
||||
const HashMap<String, Vector<CustomType>> &get_custom_types() const { return custom_types; }
|
||||
const CustomType *get_custom_type_by_name(const String &p_name) const;
|
||||
const CustomType *get_custom_type_by_path(const String &p_path) const;
|
||||
bool is_type_recognized(const String &p_type) const;
|
||||
|
||||
void instantiate_object_properties(Object *p_object);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue