Improve documentation for get_animation()

This commit is contained in:
Haoyu Qiu
2022-08-29 14:18:01 +08:00
parent c08e84af0d
commit 385a5b44aa
4 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
<return type="Animation" />
<param index="0" name="name" type="StringName" />
<description>
Returns the [Animation] with the key [param name], or [code]null[/code] if none is found.
Returns the [Animation] with the key [param name]. If the animation does not exist, [code]null[/code] is returned and an error is logged.
</description>
</method>
<method name="get_animation_list" qualifiers="const">

View File

@@ -75,7 +75,7 @@
<return type="Animation" />
<param index="0" name="name" type="StringName" />
<description>
Returns the [Animation] with key [param name] or [code]null[/code] if not found.
Returns the [Animation] with the key [param name]. If the animation does not exist, [code]null[/code] is returned and an error is logged.
</description>
</method>
<method name="get_animation_library" qualifiers="const">