Fronter/Menus/Menu.tscn

60 lines
1.3 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://Menus/Menu.gd" type="Script" id=1]
[ext_resource path="res://art/menu/back.png" type="Texture" id=2]
[node name="Menu" type="Node2D"]
z_index = 1
z_as_relative = false
script = ExtResource( 1 )
_sections_unfolded = [ "Z Index" ]
[node name="BG" type="ColorRect" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1024.0
margin_bottom = 600.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
color = Color( 0, 0, 0, 1 )
_sections_unfolded = [ "Rect" ]
[node name="BackButton" type="Button" parent="." index="1"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 4.0
margin_top = 453.0
margin_right = 279.0
margin_bottom = 659.0
rect_scale = Vector2( 0.7, 0.7 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
group = null
icon = ExtResource( 2 )
flat = true
align = 1
_sections_unfolded = [ "Rect" ]
[connection signal="pressed" from="BackButton" to="." method="_on_BackButton_pressed"]