7 lines
139 B
GDScript
7 lines
139 B
GDScript
extends Node3D
|
|
|
|
@onready var animation_player: AnimationPlayer = %AnimationPlayer
|
|
|
|
func recoil() -> void:
|
|
animation_player.play("recoil")
|