fmt
This commit is contained in:
parent
72a58d4260
commit
ac461e1cf5
2 changed files with 2 additions and 7 deletions
|
@ -14,15 +14,11 @@ func exit_condition():
|
||||||
func close():
|
func close():
|
||||||
if exit_condition():
|
if exit_condition():
|
||||||
self.visible = false
|
self.visible = false
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
func _process(delta):
|
func _process(_delta):
|
||||||
close()
|
close()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func _on_button_pressed():
|
func _on_button_pressed():
|
||||||
print("pressed")
|
print("pressed")
|
||||||
condition = true
|
condition = true
|
||||||
|
|
|
@ -5,13 +5,12 @@ extends "res://scripts/ads.gd"
|
||||||
func _ready():
|
func _ready():
|
||||||
$Panel2/Button.disabled = true
|
$Panel2/Button.disabled = true
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
func exit_condition():
|
func exit_condition():
|
||||||
return condition
|
return condition
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
func _process(delta):
|
func _process(_delta):
|
||||||
close()
|
close()
|
||||||
|
|
||||||
func _on_button_pressed():
|
func _on_button_pressed():
|
||||||
|
|
Reference in a new issue