9 lines
203 B
GDScript
9 lines
203 B
GDScript
extends Control
|
|
|
|
onready var animation = $AnimationPlayer
|
|
|
|
func _card_selected(card: Card):
|
|
animation.play("fade ui card")
|
|
|
|
func _card_unselected(card: Card):
|
|
animation.play_backwards("fade ui card")
|