-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tscn
33 lines (26 loc) · 1.12 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
[gd_scene load_steps=3 format=3 uid="uid://ck8uynbak3erk"]
[ext_resource type="Script" path="res://main.gd" id="1_2hjjp"]
[ext_resource type="Script" path="res://button3.gd" id="2_d01s1"]
[node name="Main" type="CanvasLayer" node_paths=PackedStringArray("button1", "button2", "button3")]
script = ExtResource("1_2hjjp")
button1 = NodePath("CenterContainer/VBoxContainer/Button1")
button2 = NodePath("CenterContainer/VBoxContainer/Button2")
button3 = NodePath("CenterContainer/VBoxContainer/Button3")
[node name="CenterContainer" type="CenterContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
[node name="Button1" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "Click me to print to console"
[node name="Button2" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "Click me, too!"
[node name="Button3" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "Click me, three!"
script = ExtResource("2_d01s1")