Files
net-gunner/templates/trap_icon.tscn

34 lines
935 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://xk323c0ta2b"]
[ext_resource type="Script" uid="uid://54k4gu5skdur" path="res://scripts/trap_icon.gd" id="1_soq3m"]
[ext_resource type="Texture2D" uid="uid://dhw2ao0dimytt" path="res://visuals/images/icons/bomb.png" id="2_adsdf"]
[node name="Trap Icon" type="Control"]
custom_minimum_size = Vector2(150, 100)
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_soq3m")
[node name="Icon" type="TextureRect" parent="."]
unique_name_in_owner = true
layout_mode = 0
offset_right = 150.0
offset_bottom = 100.0
texture = ExtResource("2_adsdf")
[node name="Label" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -49.0
offset_top = -45.0
offset_right = -9.0
grow_horizontal = 0
grow_vertical = 0
theme_override_font_sizes/font_size = 32
horizontal_alignment = 2