pandemonium_demo_projects/gui/rich_text_bbcode/rich_text_bbcode.gd

9 lines
210 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)