mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Add note about Script.has_source_code
and GDScript binary tokenization
This commit is contained in:
parent
da4f6e439c
commit
f06504ca0b
@ -93,6 +93,7 @@
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the script contains non-empty source code.
|
||||
[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">
|
||||
|
Loading…
Reference in New Issue
Block a user