func _input(event: InputEvent):
if event.is_action_pressed("player-dash"):
_skin.transition_dash()
+ elif event.is_action_pressed("player-slash"):
+ _skin.sword_visible()
+ _skin.transition_slash()
+ elif event.is_action_pressed("player-shoot"):
+ _skin.gun_visible()
+ _skin.transition_gunfire()
# Get the XZ input direction based on player's input relative to the camera