SupaLidlGame/UI/Inventory/InventorySlot.tscn

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-05-29 14:55:23 -07:00
[gd_scene load_steps=3 format=3 uid="uid://ctad0dkoyw8ad"]
2023-12-31 05:59:33 -08:00
2024-05-29 14:55:23 -07:00
[ext_resource type="Script" path="res://UI/Inventory/InventorySlot.cs" id="1_tj1me"]
[ext_resource type="Texture2D" uid="uid://dc1gcsbhkchvg" path="res://Assets/Sprites/UI/hotbar-active.png" id="2_m56j3"]
2023-12-31 05:59:33 -08:00
[node name="InventorySlot" type="ColorRect"]
custom_minimum_size = Vector2(32, 32)
color = Color(1, 1, 1, 0)
2024-05-29 14:55:23 -07:00
script = ExtResource("1_tj1me")
2023-12-31 05:59:33 -08:00
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stretch_mode = 3
[node name="Selected" type="NinePatchRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-05-29 14:55:23 -07:00
texture = ExtResource("2_m56j3")
2023-12-31 05:59:33 -08:00
[node name="Unselected" type="NinePatchRect" parent="."]
self_modulate = Color(1, 1, 1, 0.5)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-05-29 14:55:23 -07:00
texture = ExtResource("2_m56j3")