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 Loading_ColorRect L_ColorRect
  12. {
  13. get
  14. {
  15. if (_L_ColorRect == null) _L_ColorRect = new Loading_ColorRect(this, GetNodeOrNull<Godot.ColorRect>("ColorRect"));
  16. return _L_ColorRect;
  17. }
  18. }
  19. private Loading_ColorRect _L_ColorRect;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: Loading.Label
  23. /// </summary>
  24. public Loading_Label L_Label
  25. {
  26. get
  27. {
  28. if (_L_Label == null) _L_Label = new Loading_Label(this, GetNodeOrNull<Godot.Label>("Label"));
  29. return _L_Label;
  30. }
  31. }
  32. private Loading_Label _L_Label;
  33.  
  34.  
  35. public Loading() : base(nameof(Loading))
  36. {
  37. }
  38.  
  39. /// <summary>
  40. /// 类型: <see cref="Godot.ColorRect"/>, 路径: Loading.ColorRect
  41. /// </summary>
  42. public class Loading_ColorRect : UiNode<Loading, Godot.ColorRect, Loading_ColorRect>
  43. {
  44. public Loading_ColorRect(Loading uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  45. public override Loading_ColorRect Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  46. }
  47.  
  48. /// <summary>
  49. /// 类型: <see cref="Godot.Label"/>, 路径: Loading.Label
  50. /// </summary>
  51. public class Loading_Label : UiNode<Loading, Godot.Label, Loading_Label>
  52. {
  53. public Loading_Label(Loading uiPanel, Godot.Label node) : base(uiPanel, node) { }
  54. public override Loading_Label Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  55. }
  56.  
  57.  
  58. /// <summary>
  59. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: Loading.ColorRect
  60. /// </summary>
  61. public Loading_ColorRect S_ColorRect => L_ColorRect;
  62.  
  63. /// <summary>
  64. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: Loading.Label
  65. /// </summary>
  66. public Loading_Label S_Label => L_Label;
  67.  
  68. }