tli/scenes/ui/unit_info.tscn
2024-10-21 19:16:06 +10:00

40 lines
1.3 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://dhtofjn8dnuw3"]
[ext_resource type="Texture2D" uid="uid://cc40vkh4nc6pk" path="res://assets/textures/gui/think_bubble.png" id="1_hsifm"]
[ext_resource type="Script" path="res://scripts/ui/unit_info.gd" id="2_b6c6l"]
[ext_resource type="Texture2D" uid="uid://3dcjgbpixtn1" path="res://assets/textures/gui/unit_state.png" id="3_tdly6"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_wrdqv"]
texture = ExtResource("1_hsifm")
modulate_color = Color(0.917647, 0.807843, 0.647059, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_fbih3"]
atlas = ExtResource("3_tdly6")
region = Rect2(0, 0, 108, 94)
[node name="UnitInfo" type="Panel"]
process_priority = 100
offset_right = 128.0
offset_bottom = 128.0
pivot_offset = Vector2(63, 130)
size_flags_horizontal = 4
size_flags_vertical = 8
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_wrdqv")
script = ExtResource("2_b6c6l")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -55.0
offset_top = -59.0
offset_right = 53.0
offset_bottom = 35.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_fbih3")