From c7e557bd127b9545bbb2794b6f3c3dec81a9b9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Santilio?= Date: Mon, 24 Aug 2020 13:46:25 +0200 Subject: [PATCH] --- addons/github-integration/scripts/Header.gd | 26 --------------------- 1 file changed, 26 deletions(-) delete mode 100644 addons/github-integration/scripts/Header.gd diff --git a/addons/github-integration/scripts/Header.gd b/addons/github-integration/scripts/Header.gd deleted file mode 100644 index 3177eee..0000000 --- a/addons/github-integration/scripts/Header.gd +++ /dev/null @@ -1,26 +0,0 @@ -tool -extends Control - -onready var discord : TextureButton = $datas/discord -onready var paypal : TextureButton = $datas/paypal -onready var github : TextureButton = $datas/github - -func _ready(): - discord.connect("pressed",self,"_join_discord") - paypal.connect("pressed",self,"_support_paypal") - github.connect("pressed",self,"_check_git") - -func set_darkmode(darkmode : bool): - if darkmode: - set_theme(load("res://addons/github-integration/resources/themes/GitHubTheme-Dark.tres")) - else: - set_theme(load("res://addons/github-integration/resources/themes/GitHubTheme.tres")) - -func _join_discord(): - OS.shell_open("https://discord.gg/KnJGY9S") - -func _support_paypal(): - OS.shell_open("https://paypal.me/NSantilio?locale.x=it_IT") - -func _check_git(): - OS.shell_open("https://github.com/fenix-hub/godot-engine.github-integration")