Datasets:
| extends Node3D | |
| var player = $AnimationPlayer | |
| func set_animation(anim): | |
| if player.current_animation == anim: | |
| return | |
| player.play(anim) | |
| extends Node3D | |
| var player = $AnimationPlayer | |
| func set_animation(anim): | |
| if player.current_animation == anim: | |
| return | |
| player.play(anim) | |