We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a18beee + 87b0796 commit 070dddfCopy full SHA for 070dddf
doc/classes/AnimationMixer.xml
@@ -27,6 +27,13 @@
27
<param index="1" name="library" type="AnimationLibrary" />
28
<description>
29
Adds [param library] to the animation player, under the key [param name].
30
+ AnimationMixer has a global library by default with an empty string as key. For adding an animation to the global library:
31
+ [codeblocks]
32
+ [gdscript]
33
+ var global_library = mixer.get_animation_library("")
34
+ global_library.add_animation("animation_name", animation_resource)
35
+ [/gdscript]
36
+ [/codeblocks]
37
</description>
38
</method>
39
<method name="advance">
0 commit comments