mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
13 lines
288 B
GDScript
13 lines
288 B
GDScript
extends Control
|
|
|
|
func _on_RichTextLabel_meta_clicked(meta):
|
|
var err = OS.shell_open(meta)
|
|
if err == OK:
|
|
print("Opened link '%s' successfully!" % meta)
|
|
else:
|
|
print("Failed opening the link '%s'!" % meta)
|
|
|
|
|
|
func _on_pause_toggled(button_pressed):
|
|
get_tree().paused = button_pressed
|