mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Allow registering "runtime classes"
This commit is contained in:
parent
dfe226b933
commit
ea75307a11
9 changed files with 401 additions and 38 deletions
|
@ -95,7 +95,7 @@ Variant GDScriptNativeClass::_new() {
|
|||
}
|
||||
|
||||
Object *GDScriptNativeClass::instantiate() {
|
||||
return ClassDB::instantiate(name);
|
||||
return ClassDB::instantiate_no_placeholders(name);
|
||||
}
|
||||
|
||||
Variant GDScriptNativeClass::callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue