52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
[gd_scene format=3 uid="uid://gvpxmy1bgt8h"]
|
|
|
|
[ext_resource type="Script" uid="uid://bf28djpewxwai" path="res://core/game_menu/checkbox.gd" id="2_ma3ho"]
|
|
[ext_resource type="Texture2D" uid="uid://hw1j3ii4eer" path="res://core/game_menu/assets/page_3/buttonsquare_empty.png" id="2_p1o3r"]
|
|
[ext_resource type="Texture2D" uid="uid://cq51kdp4p1jfk" path="res://core/game_menu/assets/page_3/buttonsquare_fill.png" id="3_6138f"]
|
|
|
|
[node name="Checkbox" type="Button" unique_id=1346986972]
|
|
custom_minimum_size = Vector2(60, 60)
|
|
anchors_preset = -1
|
|
anchor_right = 0.03125
|
|
anchor_bottom = 0.055555556
|
|
pivot_offset_ratio = Vector2(0.5, 0.5)
|
|
toggle_mode = true
|
|
flat = true
|
|
script = ExtResource("2_ma3ho")
|
|
image = ExtResource("2_p1o3r")
|
|
image_toggle = ExtResource("3_6138f")
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Texture" type="TextureRect" parent="." unique_id=1951376393]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset_ratio = Vector2(0.5, 0.5)
|
|
texture = ExtResource("2_p1o3r")
|
|
expand_mode = 1
|
|
|
|
[node name="ToggleTexture" type="TextureRect" parent="." unique_id=1931011536]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(50, 50)
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -25.0
|
|
offset_top = -26.5
|
|
offset_right = 25.0
|
|
offset_bottom = 23.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset_ratio = Vector2(0.5, 0.5)
|
|
texture = ExtResource("3_6138f")
|
|
expand_mode = 1
|
|
|
|
[connection signal="toggled" from="." to="." method="_on_toggled"]
|