[gd_scene load_steps=6 format=3 uid="uid://bqvue0h7wc0mx"] [ext_resource type="Theme" uid="uid://d035h7upxrw3h" path="res://theme.tres" id="1_2kci0"] [ext_resource type="Texture2D" uid="uid://cd205j7rs5ph7" path="res://ui/buildingmeny.png" id="1_j8r6a"] [ext_resource type="PackedScene" uid="uid://dykc1mgg5uopw" path="res://components/Cursor/MouseHandler.tscn" id="2_ona0j"] [ext_resource type="Script" path="res://ui/building_tab.gd" id="2_vatnx"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_f3h14"] size = Vector2(46, 10) [node name="BuildingTab" type="TextureRect"] custom_minimum_size = Vector2(66, 14) offset_right = 66.0 offset_bottom = 14.0 theme = ExtResource("1_2kci0") texture = ExtResource("1_j8r6a") expand_mode = 1 script = ExtResource("2_vatnx") width = 55.5 [node name="RichTextLabel" type="RichTextLabel" parent="."] layout_mode = 1 anchors_preset = 14 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 offset_top = -3.0 offset_bottom = 46.0 grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(33, 3) bbcode_enabled = true text = "[center]Resource" [node name="MouseHandler" parent="." instance=ExtResource("2_ona0j")] [node name="CollisionShape2D" type="CollisionShape2D" parent="MouseHandler"] position = Vector2(33, 7) shape = SubResource("RectangleShape2D_f3h14") [connection signal="clicked" from="MouseHandler" to="." method="_on_mouse_handler_clicked"] [connection signal="hovered" from="MouseHandler" to="." method="_on_mouse_handler_hovered"] [connection signal="unhovered" from="MouseHandler" to="." method="_on_mouse_handler_unhovered"]