breadwinner/entities/player/prompt.gd

14 lines
266 B
GDScript3
Raw Permalink Normal View History

2026-08-06 18:36:16 +02:00
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)