[gd_scene load_steps=5 format=3 uid="uid://bv0yhkf3bvbxi"] [ext_resource type="Script" uid="uid://1hlyorpwtgq1" path="res://scripts/enemy_ui.gd" id="1_kdsp7"] [ext_resource type="Texture2D" uid="uid://vb6e6la8cj2g" path="res://resources/images/viking-helmet-small.png" id="2_qr4e4"] [ext_resource type="Texture2D" uid="uid://b676jpnp8q6i5" path="res://resources/images/UI Adventure Pack/panelInset_beigeLight.png" id="2_wp5hv"] [ext_resource type="Theme" uid="uid://b3faaa6kmpthu" path="res://resources/themes/standard_theme.tres" id="2_yy6pw"] [node name="Enemy_UI" type="TextureRect" node_paths=PackedStringArray("unit_name")] anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -128.0 offset_bottom = 128.0 grow_horizontal = 0 size_flags_horizontal = 3 texture = ExtResource("2_wp5hv") script = ExtResource("1_kdsp7") unit_name = NodePath("HBoxContainer/Enemy_UI/LabelUnitName") [node name="HBoxContainer" type="HBoxContainer" parent="."] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -128.0 offset_right = 32.0 offset_bottom = 160.0 grow_horizontal = 0 scale = Vector2(0.8, 0.8) [node name="Enemy_UI" type="VBoxContainer" parent="HBoxContainer"] layout_mode = 2 size_flags_horizontal = 6 size_flags_vertical = 4 alignment = 1 [node name="TextureRect" type="TextureRect" parent="HBoxContainer/Enemy_UI"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 theme = ExtResource("2_yy6pw") texture = ExtResource("2_qr4e4") stretch_mode = 3 [node name="LabelUnitName" type="Label" parent="HBoxContainer/Enemy_UI"] layout_mode = 2 size_flags_horizontal = 4 theme = ExtResource("2_yy6pw") text = "Warrior" [node name="LabelUnitPosition" type="Label" parent="HBoxContainer/Enemy_UI"] visible = false layout_mode = 2 size_flags_horizontal = 4 theme = ExtResource("2_yy6pw") text = "(20, 30, 10)"