You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://chi3x0mugaiu4"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://7138jsp4yabf" path="res://resource/ui/hud/weapon_slot.png" id="1_3hxat"]
|
|
[ext_resource type="Script" path="res://script/ui/hud/weapon_item_sub.gd" id="1_y2xym"]
|
|
[ext_resource type="Texture2D" uid="uid://ksw3dvkdv6ud" path="res://resource/ui/icon/long.png" id="2_88p8f"]
|
|
|
|
[node name="Weapon" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -80.0
|
|
offset_top = -16.0
|
|
offset_right = -48.0
|
|
offset_bottom = 16.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
pivot_offset = Vector2(16, 16)
|
|
script = ExtResource("1_y2xym")
|
|
|
|
[node name="WeaponSlot" 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 = -16.0
|
|
offset_top = -16.0
|
|
offset_right = 16.0
|
|
offset_bottom = 16.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("1_3hxat")
|
|
|
|
[node name="WeaponIcon" 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 = -32.0
|
|
offset_top = -32.0
|
|
offset_right = 32.0
|
|
offset_bottom = 32.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("2_88p8f")
|