breadwinner/entities/usable/button/button_3d.gd
Balogh Krisztián 24e89d9383 minor additions
main menu updated
2026-08-17 16:38:10 +02:00

9 lines
189 B
GDScript

class_name Button3D extends StaticBody3D
@onready var animation_player: AnimationPlayer = %AnimationPlayer
signal pressed
func press():
animation_player.play("pressed")
pressed.emit()