summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/doc_classes
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2024-02-12 16:55:02 +0300
committerDanil Alexeev <danil@alexeev.xyz>2024-02-15 15:59:50 +0300
commitaf28f87791ac4aed15d8f869876296febf5d5b58 (patch)
treecb0eea123982a45f7f761801f7730a7439f3c926 /modules/gdscript/doc_classes
parent907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff)
downloadredot-engine-af28f87791ac4aed15d8f869876296febf5d5b58.tar.gz
Documentation: Add support for deprecated/experimental messages
Diffstat (limited to 'modules/gdscript/doc_classes')
-rw-r--r--modules/gdscript/doc_classes/@GDScript.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml
index 933bfba5ba..9982edfbd3 100644
--- a/modules/gdscript/doc_classes/@GDScript.xml
+++ b/modules/gdscript/doc_classes/@GDScript.xml
@@ -57,12 +57,11 @@
[/codeblock]
</description>
</method>
- <method name="convert" is_deprecated="true">
+ <method name="convert" deprecated="Use [method @GlobalScope.type_convert] instead.">
<return type="Variant" />
<param index="0" name="what" type="Variant" />
<param index="1" name="type" type="int" />
<description>
- [i]Deprecated.[/i] Use [method @GlobalScope.type_convert] instead.
Converts [param what] to [param type] in the best way possible. The [param type] uses the [enum Variant.Type] values.
[codeblock]
var a = [4, 2.5, 1.2]