13 lines
266 B
GDScript
13 lines
266 B
GDScript
extends Control
|
|
|
|
@onready var label = $AspectRatioContainer/Label
|
|
|
|
func change_text(text:String):
|
|
label.text = text
|
|
|
|
func hide_fo_sho():
|
|
if visible == true:
|
|
visible = false
|
|
|
|
func _ready() -> void:
|
|
UiManager.in_game_menu.visibility_changed.connect(hide_fo_sho)
|