21 lines
488 B
GDScript
21 lines
488 B
GDScript
extends CanvasLayer
|
|
|
|
@onready var text_container = $MarginContainer/TextContainer
|
|
@onready var skip = $SkipContainer/SkipButton
|
|
|
|
signal slide_finished
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
skip.pressed.connect(_on_skip_pressed)
|
|
|
|
pass # Replace with function body.
|
|
|
|
func _on_skip_pressed():
|
|
slide_finished.emit()
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|