Files
godot-demo-projects/gui/rich_text_bbcode/rich_text_bbcode.gd
2023-01-23 18:24:56 +01:00

10 lines
211 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)