Files
RuinAdventurer/Prefabs/Robot/RobotDisplay.tscn
T
2026-05-14 20:23:19 +02:00

54 lines
1.7 KiB
Plaintext

[gd_scene format=3 uid="uid://dribqey54i62n"]
[ext_resource type="Script" uid="uid://dcxom1paffp0p" path="res://Scripts/UI/Robots/RobotDisplay.cs" id="1_ltmdd"]
[node name="Robot" type="PanelContainer" unique_id=247502695 node_paths=PackedStringArray("listItem", "currentScript")]
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_bottom = 31.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ltmdd")
listItem = NodePath("HBoxContainer/ListItem")
currentScript = NodePath("HBoxContainer/CurrentScript")
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=906487472]
layout_mode = 2
theme_override_constants/separation = 20
alignment = 1
[node name="ListItem" type="RichTextLabel" parent="HBoxContainer" unique_id=46246913]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.5
text = "Robot #1"
fit_content = true
autowrap_mode = 0
horizontal_alignment = 1
vertical_alignment = 1
[node name="Jump" type="Button" parent="HBoxContainer" unique_id=391426419]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.2
text = "Jump to"
[node name="Follow" type="Button" parent="HBoxContainer" unique_id=101092106]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.2
text = "Follow"
[node name="CurrentScript" type="RichTextLabel" parent="HBoxContainer" unique_id=425408407]
layout_mode = 2
size_flags_horizontal = 3
fit_content = true
autowrap_mode = 0
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="HBoxContainer/Jump" to="." method="OnJumpToClicked"]
[connection signal="pressed" from="HBoxContainer/Follow" to="." method="OnFollowToClicked"]