From 385a5b44aa32319bd918c19ec9c8f375444f4802 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Mon, 29 Aug 2022 14:18:01 +0800 Subject: Improve documentation for `get_animation()` --- doc/classes/AnimationLibrary.xml | 2 +- doc/classes/AnimationPlayer.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/AnimationLibrary.xml b/doc/classes/AnimationLibrary.xml index fbbf9a3be4..75fe393dbb 100644 --- a/doc/classes/AnimationLibrary.xml +++ b/doc/classes/AnimationLibrary.xml @@ -22,7 +22,7 @@ - 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. diff --git a/doc/classes/AnimationPlayer.xml b/doc/classes/AnimationPlayer.xml index d771206cc2..710dc55a4b 100644 --- a/doc/classes/AnimationPlayer.xml +++ b/doc/classes/AnimationPlayer.xml @@ -75,7 +75,7 @@ - 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. -- cgit v1.2.3