Browse Source

Specify how to use the global animation library in gdscript

(cherry picked from commit bf7adc867011dd25abd98e98fb546cdc435e9b93)
rainlizard 2 years ago
parent
commit
8df97cf368
1 changed files with 1 additions and 0 deletions
  1. 1 0
      doc/classes/AnimationPlayer.xml

+ 1 - 0
doc/classes/AnimationPlayer.xml

@@ -94,6 +94,7 @@
 			<param index="0" name="name" type="StringName" />
 			<param index="0" name="name" type="StringName" />
 			<description>
 			<description>
 				Returns the first [AnimationLibrary] with key [param name] or [code]null[/code] if not found.
 				Returns the first [AnimationLibrary] with key [param name] or [code]null[/code] if not found.
+				To get the [AnimationPlayer]'s global animation library, use [code]get_animation_library("")[/code].
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_animation_library_list" qualifiers="const">
 		<method name="get_animation_library_list" qualifiers="const">