First Commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
extends Node3D
|
||||
|
||||
@onready var _animation_tree: AnimationTree = %AnimationTree
|
||||
@onready var _hurt_shot_path: String = "parameters/HurtShot/request"
|
||||
|
||||
|
||||
## Play a OneShot hurt animation.
|
||||
## This animation is played in paralel with other states.
|
||||
func hurt() -> void:
|
||||
_animation_tree.set(_hurt_shot_path, true)
|
||||
Reference in New Issue
Block a user