1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Fix Info about Global library on add_animation_library method in doc/classes/AnimationMixer.xml

Fix Info about Global library on add_animation_library method in doc/classes/AnimationMixer.xml

Fix Info about Global library on add_animation_library method

Co-authored-by: Silc Lizard (Tokage) Renew <tokage.it.lab@gmail.com>
This commit is contained in:
Ashish Kumar
2024-07-01 20:55:26 +05:30
parent 446e7a7c22
commit 87b0796e8a

View File

@@ -27,6 +27,13 @@
<param index="1" name="library" type="AnimationLibrary" />
<description>
Adds [param library] to the animation player, under the key [param name].
AnimationMixer has a global library by default with an empty string as key. For adding an animation to the global library:
[codeblocks]
[gdscript]
var global_library = mixer.get_animation_library("")
global_library.add_animation("animation_name", animation_resource)
[/gdscript]
[/codeblocks]
</description>
</method>
<method name="advance">