Files
fnaf-gameshow-fangame/Assets/Scripts/UI/fade_in.gd
2026-01-13 03:47:51 +00:00

14 lines
342 B
GDScript

extends Node
@onready var colorRect = $ColorRect
@onready var animationPlayer = $AnimationPlayer
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
colorRect.visible = true
animationPlayer.play("fade_in")
await get_tree().create_timer(5.0).timeout
queue_free()
pass # Replace with function body.