Deprecate ScriptLanguage::instance_has

This commit is contained in:
HolonProduction
2026-04-05 14:10:48 +02:00
parent 1aabcb9e9b
commit 97091c639b
11 changed files with 38 additions and 23 deletions
+1 -1
View File
@@ -112,7 +112,7 @@
[b]Note:[/b] If a script does not have source code, this does not mean that it is invalid or unusable. For example, a [GDScript] that was exported with binary tokenization has no source code, but still behaves as expected and could be instantiated. This can be checked with [method can_instantiate].
</description>
</method>
<method name="instance_has" qualifiers="const">
<method name="instance_has" qualifiers="const" deprecated="Compare this script with [method Object.get_script] instead.">
<return type="bool" />
<param index="0" name="base_object" type="Object" />
<description>