Merge pull request #73409 from voidedWarranties/scriptextension_add_bind

Add missing virtual bind for `ScriptExtension::_get_global_name`
This commit is contained in:
Rémi Verschelde 2023-02-16 11:02:09 +01:00
commit d844fbba3b
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,7 @@ void ScriptExtension::_bind_methods() {
GDVIRTUAL_BIND(_can_instantiate);
GDVIRTUAL_BIND(_get_base_script);
GDVIRTUAL_BIND(_get_global_name);
GDVIRTUAL_BIND(_inherits_script, "script");
GDVIRTUAL_BIND(_get_instance_base_type);

View file

@ -32,6 +32,11 @@
<description>
</description>
</method>
<method name="_get_global_name" qualifiers="virtual const">
<return type="StringName" />
<description>
</description>
</method>
<method name="_get_instance_base_type" qualifiers="virtual const">
<return type="StringName" />
<description>