summaryrefslogtreecommitdiff
path: root/plugins/hello_gdextension/demo/main.gd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hello_gdextension/demo/main.gd')
-rw-r--r--plugins/hello_gdextension/demo/main.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/hello_gdextension/demo/main.gd b/plugins/hello_gdextension/demo/main.gd
new file mode 100644
index 0000000..c457271
--- /dev/null
+++ b/plugins/hello_gdextension/demo/main.gd
@@ -0,0 +1,5 @@
+extends Node2D
+
+func _ready():
+ var hello_gdextension_plugin = preload("res://addons/hello_gdextension_plugin/interface/hello_gdextension_plugin.gd").new()
+ hello_gdextension_plugin.add_gdexample_node(get_path())