using Godot; public partial class InfoBlock : PanelContainer { private Label _displayLabel; private TextureRect _icon; private Label _valueLabel; [Export] public Texture2D IconTexture { get; set; } [Export] public string DisplayName { get; set; } = "资金"; [Export] public string Value { get; set; } = "999.9 M"; // Called when the node enters the scene tree for the first time. public override void _Ready() { _icon = GetNode("VBoxContainer/HBoxContainer/Icon"); _displayLabel = GetNode