mlpcardgame/Scenes/Scripts/BoardUI.gd

10 lines
189 B
GDScript3
Raw Normal View History

2019-05-04 22:01:00 +00:00
extends Control
onready var animation = $AnimationPlayer
func _card_selected(cardID):
animation.play("fade ui card")
func _card_unselected():
animation.play_backwards("fade ui card")