mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix generic arrays and dictionaries not calling set_typed
This commit is contained in:
parent
aa8d9b83f6
commit
8ab27a7ccf
11 changed files with 260 additions and 26 deletions
|
@ -2344,9 +2344,7 @@ bool CSharpScript::can_instantiate() const {
|
|||
}
|
||||
|
||||
StringName CSharpScript::get_instance_base_type() const {
|
||||
StringName native_name;
|
||||
GDMonoCache::managed_callbacks.ScriptManagerBridge_GetScriptNativeName(this, &native_name);
|
||||
return native_name;
|
||||
return type_info.native_base_name;
|
||||
}
|
||||
|
||||
CSharpInstance *CSharpScript::_create_instance(const Variant **p_args, int p_argcount, Object *p_owner, bool p_is_ref_counted, Callable::CallError &r_error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue