mlpcardgame/Scenes/Scripts/BoardUI.gd
2019-05-05 00:01:00 +02:00

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")