ile-de-test/script/interface/loading_screen.gd

11 lines
199 B
GDScript3
Raw Permalink Normal View History

2023-10-23 15:21:27 +00:00
extends CanvasGroup
signal safe_to_load
@onready var animprogress = $animation_progressBar
func progress_bar():
animprogress.play("fade_out")
await animprogress.animation_finished
queue_free()