using Godot; public class HintItem : Button { //点击时调用 private void _on_click() { GD.Print("点击按钮"); } }