Files
Simplaudio/help_button.gd
T
2024-10-01 20:04:37 +02:00

16 lines
333 B
GDScript

extends Button
@export var Open:String
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
func _pressed() -> void:
OS.shell_open(Open)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass