Add an example class and some demo code to the project.

This commit is contained in:
Lukas Tenbrink
2025-04-14 18:55:50 +02:00
parent 7ef3bea224
commit 65ca91beec
6 changed files with 65 additions and 1 deletions

6
demo/example.gd Normal file
View File

@@ -0,0 +1,6 @@
extends Node
func _ready() -> void:
var example := ExampleClass.new()
example.print_type(example)

6
demo/example.tscn Normal file
View File

@@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://dh0oj81pufivs"]
[ext_resource type="Script" path="res://example.gd" id="1_jdh55"]
[node name="Node" type="Node"]
script = ExtResource("1_jdh55")