mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
37 lines
960 B
Plaintext
37 lines
960 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://cv6m1tga3p6cj"]
|
|
|
|
[ext_resource type="Script" uid="uid://6i62qwq4wfkt" path="res://scene_a.gd" id="1"]
|
|
|
|
[node name="SceneA" type="Panel"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
script = ExtResource("1")
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 48.0
|
|
offset_right = 104.0
|
|
offset_bottom = 62.0
|
|
size_flags_vertical = 0
|
|
text = "This is scene A."
|
|
|
|
[node name="GoToSceneB" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 64.0
|
|
offset_top = 128.0
|
|
offset_right = 277.0
|
|
offset_bottom = 182.0
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 2
|
|
theme_override_colors/font_color = Color(0.945098, 1, 0.556863, 1)
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "Go to Scene B"
|
|
|
|
[connection signal="pressed" from="GoToSceneB" to="." method="_on_goto_scene_pressed"]
|