diary/user_interface/call_panel/call_panel.gd

12 lines
217 B
GDScript3
Raw Normal View History

2022-05-24 21:31:30 +02:00
extends PanelContainer
onready var animation_player = get_node("AnimationPlayer")
func _ready():
Call.connect("requested", self, "_on_call_requested")
func _on_call_requested():
animation_player.play("FadeIn")