material-maker/addons/material_maker/widgets/about.gd

14 lines
366 B
GDScript3
Raw Normal View History

tool
2018-08-11 11:33:24 +02:00
extends WindowDialog
func _ready():
if Engine.editor_hint:
$VBoxContainer/VBoxContainer1/ApplicationName.text = "Material Maker"
else:
$VBoxContainer/VBoxContainer1/ApplicationName.text = ProjectSettings.get_setting("application/config/name")+" v"+ProjectSettings.get_setting("application/config/release")
2018-08-11 11:33:24 +02:00
pass
func open_url(url):
OS.shell_open(url)