Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / myUi / MyUiPanel.cs
@小李xl 小李xl on 31 Mar 2023 301 bytes 更新文档
  1. using Godot;
  2.  
  3. namespace UI.MyUi;
  4.  
  5. public partial class MyUiPanel : MyUi
  6. {
  7.  
  8. public override void OnShowUi()
  9. {
  10. L_Control.L_Label.Instance.Text = "文本";
  11. L_Button.Instance.Pressed += () =>
  12. {
  13.  
  14. };
  15. }
  16.  
  17. public override void OnHideUi()
  18. {
  19. }
  20.  
  21. }