Remove more instances of 'instance' being used as a verb
This commit is contained in:
@ -486,7 +486,7 @@ void EditorData::add_custom_type(const String &p_type, const String &p_inherits,
|
||||
custom_types[p_inherits].push_back(ct);
|
||||
}
|
||||
|
||||
Variant EditorData::instance_custom_type(const String &p_type, const String &p_inherits) {
|
||||
Variant EditorData::instantiate_custom_type(const String &p_type, const String &p_inherits) {
|
||||
if (get_custom_types().has(p_inherits)) {
|
||||
for (int i = 0; i < get_custom_types()[p_inherits].size(); i++) {
|
||||
if (get_custom_types()[p_inherits][i].name == p_type) {
|
||||
|
||||
Reference in New Issue
Block a user