FunGame-Godot/resources/controls/CharacterItem.tscn
2026-02-03 01:38:51 +08:00

39 lines
1.4 KiB
Plaintext

[gd_scene format=3 uid="uid://cl0i6y6a6b6a8"]
[ext_resource type="Script" uid="uid://bf1lfbuoq3nkh" path="res://scripts/UIScripts/CharacterItem.cs" id="1_i8qtq"]
[ext_resource type="Texture2D" uid="uid://biooen7y20ks8" path="res://assets/character/雷恩.png" id="1_qsnl3"]
[ext_resource type="FontFile" uid="uid://ch6s7n1ri81gt" path="res://assets/fonts/思源宋体.TTF" id="2_i8qtq"]
[node name="CharacterItem" type="Control" unique_id=1745827206 node_paths=PackedStringArray("TextureRect", "Label")]
custom_minimum_size = Vector2(96, 96)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_i8qtq")
TextureRect = NodePath("TextureRect")
Label = NodePath("Label")
[node name="TextureRect" type="TextureRect" parent="." unique_id=462435124]
custom_minimum_size = Vector2(96, 96)
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
texture = ExtResource("1_qsnl3")
expand_mode = 1
stretch_mode = 5
[node name="Label" type="Label" parent="." unique_id=472633575]
layout_mode = 0
offset_right = 88.0
offset_bottom = 44.0
theme_override_colors/font_color = Color(0.97762054, 0.9024748, 0.9525201, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.7058824)
theme_override_fonts/font = ExtResource("2_i8qtq")
theme_override_font_sizes/font_size = 30
text = "2"
horizontal_alignment = 2
vertical_alignment = 1