debug.gd 443 B

1234567891011
  1. ## This is a Debug Node wich will show some usefull info and buttons/input
  2. ##
  3. ## The DiscordRPC Debug Node will show info about the current values of its variables and some buttons to change them.
  4. ##
  5. ## @tutorial: https://github.com/vaporvee/discord-rpc-godot/wiki
  6. @tool
  7. extends Node
  8. func _ready() -> void:
  9. const DebugNodeGroup: PackedScene = preload("res://addons/discord-rpc-gd/nodes/Debug.tscn")
  10. add_child(DebugNodeGroup.instantiate())