diff options
Diffstat (limited to 'game/src')
-rw-r--r-- | game/src/StartNode.gd | 5 | ||||
-rw-r--r-- | game/src/StartNode.tscn | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/game/src/StartNode.gd b/game/src/StartNode.gd new file mode 100644 index 0000000..131dc40 --- /dev/null +++ b/game/src/StartNode.gd @@ -0,0 +1,5 @@ +extends Node + +func _ready(): + print("From GDScript") + TestSingleton.hello_singleton() diff --git a/game/src/StartNode.tscn b/game/src/StartNode.tscn new file mode 100644 index 0000000..f992b6c --- /dev/null +++ b/game/src/StartNode.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://b5hk77pbyfd2j"] + +[ext_resource type="Script" path="res://src/StartNode.gd" id="1_6ch7h"] + +[node name="StartNode" type="Node"] +script = ExtResource("1_6ch7h") |