Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

fix(docs): Script.get_property_default_value is missing debug build notice

enderprism5ee7b38c25d6
diff --git a/doc/classes/Script.xml b/doc/classes/Script.xml
index 8bf2bffc1f2..1b2252461c1 100644
--- a/doc/classes/Script.xml
+++ b/doc/classes/Script.xml
@@ -56,6 +56,7 @@
<param index="0" name="property" type="StringName" />
<description>
Returns the default value of the specified property.
+ [b]Note:[/b] In GDScript and C#, this method returns [code]null[/code] outside of editor builds.
</description>
</method>
<method name="get_rpc_config" qualifiers="const">