Click or drag to resize

AnimationPlayerAddAnimation Method

Adds animation to the player accessible with the key name.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error AddAnimation(
	string name,
	Animation animation
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.AnimationPlayer.AddAnimation(System.String,Godot.Animation)"]

animation
Type: GodotAnimation

[Missing <param name="animation"/> documentation for "M:Godot.AnimationPlayer.AddAnimation(System.String,Godot.Animation)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.AnimationPlayer.AddAnimation(System.String,Godot.Animation)"]

See Also