1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 20:57:13 +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:
2025-09-06 22:29:59 +08:00
parent 6a4f5e8baf
commit 5b9c87acd5
24 changed files with 476 additions and 7 deletions
+15
View File
@@ -0,0 +1,15 @@
@tool
extends VBoxContainer
@export var memberName: String = "未命名成员"
@export var memberAvatar: Texture2D = null
@export var memberDescription: String = "未知描述"
@onready var avatar: Circle = $"%avatar"
@onready var nameLabel: Label = $"%name"
@onready var descriptionLabel: Label = $"%description"
func _process(_delta):
nameLabel.text = memberName
descriptionLabel.text = memberDescription
avatar.avatar = memberAvatar