This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Assets/HUD/Crosshair.gd

12 lines
160 B
GDScript

extends Control
@onready var aplayer = $AnimationPlayer
func hit():
aplayer.stop()
aplayer.play("Hit")
func kill():
aplayer.stop()
aplayer.play("Kill")