initial commit
This commit is contained in:
13
Assets/Scripts/UI/fade_in.gd
Normal file
13
Assets/Scripts/UI/fade_in.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user