diff options
Diffstat (limited to 'doc/classes/Script.xml')
-rw-r--r-- | doc/classes/Script.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Script.xml b/doc/classes/Script.xml index fa8e4ef5f2..45f0bbb8aa 100644 --- a/doc/classes/Script.xml +++ b/doc/classes/Script.xml @@ -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"> |