Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / loading / Loading.cs
  1. namespace UI.Loading;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class Loading : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: Loading.ColorRect
  10. /// </summary>
  11. public ColorRect L_ColorRect
  12. {
  13. get
  14. {
  15. if (_L_ColorRect == null) _L_ColorRect = new ColorRect(this, GetNodeOrNull<Godot.ColorRect>("ColorRect"));
  16. return _L_ColorRect;
  17. }
  18. }
  19. private ColorRect _L_ColorRect;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: Loading.Label
  23. /// </summary>
  24. public Label L_Label
  25. {
  26. get
  27. {
  28. if (_L_Label == null) _L_Label = new Label(this, GetNodeOrNull<Godot.Label>("Label"));
  29. return _L_Label;
  30. }
  31. }
  32. private Label _L_Label;
  33.  
  34.  
  35. public Loading() : base(nameof(Loading))
  36. {
  37. }
  38.  
  39. public sealed override void OnInitNestedUi()
  40. {
  41. }
  42.  
  43. /// <summary>
  44. /// 类型: <see cref="Godot.ColorRect"/>, 路径: Loading.ColorRect
  45. /// </summary>
  46. public class ColorRect : UiNode<Loading, Godot.ColorRect, ColorRect>
  47. {
  48. public ColorRect(Loading uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  49. public override ColorRect Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  50. }
  51.  
  52. /// <summary>
  53. /// 类型: <see cref="Godot.Label"/>, 路径: Loading.Label
  54. /// </summary>
  55. public class Label : UiNode<Loading, Godot.Label, Label>
  56. {
  57. public Label(Loading uiPanel, Godot.Label node) : base(uiPanel, node) { }
  58. public override Label Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  59. }
  60.  
  61.  
  62. /// <summary>
  63. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: Loading.ColorRect
  64. /// </summary>
  65. public ColorRect S_ColorRect => L_ColorRect;
  66.  
  67. /// <summary>
  68. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: Loading.Label
  69. /// </summary>
  70. public Label S_Label => L_Label;
  71.  
  72. }