miggor-StreamGraph/addons/no_twitch/demo/test_button.gd

10 lines
172 B
GDScript3
Raw Permalink Normal View History

extends Button
@onready var twitch_connection : No_Twitch = $"../../Twitch_Connection"
func _pressed():
OS.shell_open(twitch_connection.authenticate_with_twitch())