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