2017-06-30 08:39:26 +02:00
|
|
|
[gd_scene load_steps=2 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://scene_b.gd" type="Script" id=1]
|
|
|
|
|
|
|
|
[node name="scene_b" type="Panel"]
|
|
|
|
|
2017-10-30 12:38:39 +01:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
2017-06-30 08:39:26 +02:00
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 2
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="label" type="Label" parent="."]
|
|
|
|
|
2017-10-30 12:38:39 +01:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2017-06-30 08:39:26 +02:00
|
|
|
margin_left = 64.0
|
|
|
|
margin_top = 48.0
|
|
|
|
margin_right = 164.0
|
|
|
|
margin_bottom = 62.0
|
2017-10-30 12:38:39 +01:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
2017-06-30 08:39:26 +02:00
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 2
|
2017-10-30 12:38:39 +01:00
|
|
|
size_flags_horizontal = 1
|
2017-06-30 08:39:26 +02:00
|
|
|
size_flags_vertical = 0
|
|
|
|
text = "This is scene B."
|
|
|
|
percent_visible = 1.0
|
|
|
|
lines_skipped = 0
|
|
|
|
max_lines_visible = -1
|
|
|
|
|
|
|
|
[node name="goto_scene" type="Button" parent="."]
|
|
|
|
|
2017-10-30 12:38:39 +01:00
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2017-06-30 08:39:26 +02:00
|
|
|
margin_left = 64.0
|
|
|
|
margin_top = 128.0
|
|
|
|
margin_right = 192.0
|
|
|
|
margin_bottom = 160.0
|
2017-10-30 12:38:39 +01:00
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
2017-06-30 08:39:26 +02:00
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 0
|
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 2
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
text = "Go to Scene A"
|
|
|
|
flat = false
|
|
|
|
|
|
|
|
[connection signal="pressed" from="goto_scene" to="." method="_on_goto_scene_pressed"]
|
|
|
|
|
|
|
|
|