mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-23 20:12:30 +08:00
Add new UI components and functionality for member display
- Introduced a new image import for "陨落基围虾.jpg" to enhance visual assets. - Created a Pause panel script to manage UI state transitions. - Developed a Circle control for displaying avatars with customizable properties such as cyclotomy, colors, and border width. - Implemented a ThankMember script to dynamically update member information including name, avatar, and description.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://hvbt4p0beker"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c4ovgkhjpsc15" path="res://components/UI/CircleTextureRect.tscn" id="1_pdtwd"]
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/ThankMember.gd" id="1_tso8w"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_eced8"]
|
||||
font_size = 13
|
||||
|
||||
[node name="ThankMember" type="VBoxContainer"]
|
||||
offset_right = 80.0
|
||||
offset_bottom = 116.0
|
||||
script = ExtResource("1_tso8w")
|
||||
|
||||
[node name="avatar" parent="." instance=ExtResource("1_pdtwd")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
|
||||
[node name="name" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "未命名成员"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="description" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "未知描述"
|
||||
label_settings = SubResource("LabelSettings_eced8")
|
||||
horizontal_alignment = 1
|
||||
Reference in New Issue
Block a user