removed custom loader node and did a bit documentation
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dkbtuqbtdlqnk"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/discord-sdk-gd/nodes/core_updater.gd" id="1_8fjwg"]
|
||||
|
||||
[node name="DiscordSDKLoader" type="Node"]
|
||||
editor_description = "This always needs to run in the background if you want to comunicate with the discord client."
|
||||
script = ExtResource("1_8fjwg")
|
@@ -1,8 +1,12 @@
|
||||
## This always needs to run in the background if you want to comunicate with the discord client.
|
||||
## [color=yellow]PLEASE IGNORE![/color] This is a important Node wich gets automatically added as Singleton.
|
||||
##
|
||||
## The DiscordSDKLoader Node automatically gets added as Singleton while installing the addon.
|
||||
## It has to run in the background to comunicate with Discord.
|
||||
## You don't need to use it.
|
||||
##
|
||||
## @tutorial: https://github.com/vaporvee/discord-sdk-godot/wiki
|
||||
class_name core_updater
|
||||
extends Node
|
||||
|
||||
@export var is_running: bool =false
|
||||
|
||||
func _process(delta) -> void:
|
||||
discord_sdk.coreupdate()
|
||||
is_running = true
|
||||
|
@@ -1,4 +1,8 @@
|
||||
## This is a Debug Node wich will show (only if the project runs) some usefull info and buttons/input
|
||||
## This is a Debug Node wich will show some usefull info and buttons/input
|
||||
##
|
||||
## The DiscordSDK Debug Node will show info about the current values of its variables and some buttons to change them.
|
||||
##
|
||||
## @tutorial: https://github.com/vaporvee/discord-sdk-godot/wiki
|
||||
extends Node
|
||||
|
||||
func _ready() -> void:
|
||||
|
Reference in New Issue
Block a user