49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://db3m13gci7afs"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://0rvcuxn1ybid" path="res://test/map/map_03.png" id="1_cnx2r"]
|
|
[ext_resource type="Script" path="res://test/scene/map_example_2.gd" id="2_i3hd2"]
|
|
[ext_resource type="Texture2D" uid="uid://lp6ekqrqjywt" path="res://test/texture/room.png" id="2_t0dr1"]
|
|
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="3_cuhw3"]
|
|
|
|
[node name="TextureRect" type="TextureRect"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 6
|
|
texture = ExtResource("1_cnx2r")
|
|
expand_mode = 5
|
|
script = ExtResource("2_i3hd2")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
layout_mode = 0
|
|
anchor_left = 0.441146
|
|
anchor_top = 0.351852
|
|
anchor_right = 0.470313
|
|
anchor_bottom = 0.403704
|
|
texture = ExtResource("2_t0dr1")
|
|
expand_mode = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="ToolButton" parent="TextureRect" instance=ExtResource("3_cuhw3")]
|
|
layout_mode = 1
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.614583
|
|
anchor_top = 0.456481
|
|
anchor_right = 0.64375
|
|
anchor_bottom = 0.508333
|
|
texture = ExtResource("2_t0dr1")
|
|
expand_mode = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="ToolButton" parent="TextureRect2" instance=ExtResource("3_cuhw3")]
|
|
layout_mode = 1
|
|
|
|
[connection signal="pressed" from="TextureRect/ToolButton" to="." method="_on_tool_button_pressed"]
|
|
[connection signal="pressed" from="TextureRect2/ToolButton" to="." method="_on_tool_button2_pressed"]
|