mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-23 13:57:01 +01:00
This commit is contained in:
parent
f20d470fe9
commit
c7e557bd12
@ -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")
|
Loading…
Reference in New Issue
Block a user