From 9830aa00ea07232aed7882d352b320e31d679d33 Mon Sep 17 00:00:00 2001 From: BirDt_ Date: Tue, 26 Aug 2025 23:59:17 +0800 Subject: [PATCH] Change the testing scene a bit --- scenes/label.gd | 3 +++ scenes/label.gd.uid | 1 + scenes/test_scene_2.tscn | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 scenes/label.gd create mode 100644 scenes/label.gd.uid diff --git a/scenes/label.gd b/scenes/label.gd new file mode 100644 index 0000000..08c105e --- /dev/null +++ b/scenes/label.gd @@ -0,0 +1,3 @@ +extends Label + +@export var test:String = "asb" diff --git a/scenes/label.gd.uid b/scenes/label.gd.uid new file mode 100644 index 0000000..7ff057b --- /dev/null +++ b/scenes/label.gd.uid @@ -0,0 +1 @@ +uid://blm17c1xd4ueg diff --git a/scenes/test_scene_2.tscn b/scenes/test_scene_2.tscn index 1119031..c4eec18 100644 --- a/scenes/test_scene_2.tscn +++ b/scenes/test_scene_2.tscn @@ -1,4 +1,6 @@ -[gd_scene format=3 uid="uid://b77npyjet0wqx"] +[gd_scene load_steps=2 format=3 uid="uid://b77npyjet0wqx"] + +[ext_resource type="Script" uid="uid://blm17c1xd4ueg" path="res://scenes/label.gd" id="1_26a1k"] [node name="Test Scene 2" type="Node2D"] @@ -7,3 +9,4 @@ offset_right = 484.0 offset_bottom = 298.0 theme_override_font_sizes/font_size = 282 text = "SCENE 2" +script = ExtResource("1_26a1k")