-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tscn
53 lines (43 loc) · 1.74 KB
/
main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[gd_scene load_steps=3 format=3 uid="uid://bxj3lf7f6yabx"]
[ext_resource type="Script" path="res://js/out/node-single.mjs" id="1_np162"]
[ext_resource type="Script" path="res://js/out/node-module.mjs" id="2_wplft"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 20
alignment = 1
[node name="HBoxContainerSM" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 25
alignment = 1
script = ExtResource("1_np162")
"label " = NodePath("LabelSingleModule")
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainerSM"]
layout_mode = 2
text = "Increase Number with Single Module: "
[node name="LabelSingleModule" type="Label" parent="VBoxContainer/HBoxContainerSM"]
layout_mode = 2
[node name="HBoxContainerMW" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 25
alignment = 1
script = ExtResource("2_wplft")
"label " = NodePath("LabelModuleWrapper")
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainerMW"]
layout_mode = 2
text = "Random Number with Module Wrapper: "
[node name="LabelModuleWrapper" type="Label" parent="VBoxContainer/HBoxContainerMW"]
layout_mode = 2
[connection signal="pressed" from="VBoxContainer/HBoxContainerSM/Button" to="VBoxContainer/HBoxContainerSM" method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainerMW/Button" to="VBoxContainer/HBoxContainerMW" method="_on_button_pressed"]