generated from krampus/template-godot4
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
|
|
[gd_scene format=3 uid="uid://cpmlj6muvdwix"]
|
||
|
|
|
||
|
|
[ext_resource type="PackedScene" uid="uid://mixrqf035krk" path="res://prefabs/tiles/buildings/office.tscn" id="1_vijjx"]
|
||
|
|
[ext_resource type="Script" uid="uid://bxeithajd5q5x" path="res://prefabs/tiles/buildings/building_selector.gd" id="1_xurng"]
|
||
|
|
|
||
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xurng"]
|
||
|
|
bg_color = Color(0, 0, 0, 0)
|
||
|
|
border_color = Color(1, 1, 1, 1)
|
||
|
|
|
||
|
|
[node name="BuildingSelector" type="PanelContainer" unique_id=133308872 node_paths=PackedStringArray("building")]
|
||
|
|
custom_minimum_size = Vector2(340, 230)
|
||
|
|
offset_right = 310.0
|
||
|
|
offset_bottom = 210.0
|
||
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_xurng")
|
||
|
|
script = ExtResource("1_xurng")
|
||
|
|
building = NodePath("Office")
|
||
|
|
|
||
|
|
[node name="Office" parent="." unique_id=746270571 instance=ExtResource("1_vijjx")]
|
||
|
|
position = Vector2(5, 5)
|
||
|
|
|
||
|
|
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
||
|
|
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
||
|
|
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|