Anri/AdBlockNot
Archived
1
0
Fork 0
This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
AdBlockNot/scripts/ads.gd
2024-01-28 22:30:48 +01:00

22 lines
401 B
GDScript

extends Control
var condition = false
# Called when the node enters the scene tree for the first time.
func _ready():
pass
func exit_condition():
return condition
func close():
if exit_condition():
self.visible = false
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
close()
func _on_button_pressed():
print("pressed")
condition = true