Files
gymkhana-actions/gymkhana/rooms/turno_cocina/creditos/RestartGameButton.gd

12 lines
330 B
GDScript

extends Button
# Called when the node enters the scene tree for the first time.
func _ready():
self.visible = false
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
if(escoria.globals_manager.get_global("turno_cocina_creditos_return_to_menu_visible")):
self.visible = true