Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / roomUI / RoomUI.cs
  1. namespace UI.RoomUI;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class RoomUI : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: RoomUI.InteractiveTipBar
  10. /// </summary>
  11. public UiNode_InteractiveTipBar L_InteractiveTipBar
  12. {
  13. get
  14. {
  15. if (_L_InteractiveTipBar == null) _L_InteractiveTipBar = new UiNode_InteractiveTipBar(GetNodeOrNull<Godot.Control>("InteractiveTipBar"));
  16. return _L_InteractiveTipBar;
  17. }
  18. }
  19. private UiNode_InteractiveTipBar _L_InteractiveTipBar;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: RoomUI.ReloadBar
  23. /// </summary>
  24. public UiNode_ReloadBar L_ReloadBar
  25. {
  26. get
  27. {
  28. if (_L_ReloadBar == null) _L_ReloadBar = new UiNode_ReloadBar(GetNodeOrNull<Godot.Control>("ReloadBar"));
  29. return _L_ReloadBar;
  30. }
  31. }
  32. private UiNode_ReloadBar _L_ReloadBar;
  33.  
  34. /// <summary>
  35. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: RoomUI.Control
  36. /// </summary>
  37. public UiNode_Control L_Control
  38. {
  39. get
  40. {
  41. if (_L_Control == null) _L_Control = new UiNode_Control(GetNodeOrNull<Godot.Control>("Control"));
  42. return _L_Control;
  43. }
  44. }
  45. private UiNode_Control _L_Control;
  46.  
  47.  
  48. public RoomUI() : base(nameof(RoomUI))
  49. {
  50. }
  51.  
  52. /// <summary>
  53. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.InteractiveTipBar.Icon
  54. /// </summary>
  55. public class UiNode_Icon : IUiNode<Godot.TextureRect, UiNode_Icon>
  56. {
  57. public UiNode_Icon(Godot.TextureRect node) : base(node) { }
  58. public override UiNode_Icon Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  59. }
  60.  
  61. /// <summary>
  62. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.InteractiveTipBar.InteractiveIcon
  63. /// </summary>
  64. public class UiNode_InteractiveIcon : IUiNode<Godot.TextureRect, UiNode_InteractiveIcon>
  65. {
  66. public UiNode_InteractiveIcon(Godot.TextureRect node) : base(node) { }
  67. public override UiNode_InteractiveIcon Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  68. }
  69.  
  70. /// <summary>
  71. /// 类型: <see cref="Godot.Line2D"/>, 路径: RoomUI.InteractiveTipBar.Line2D
  72. /// </summary>
  73. public class UiNode_Line2D : IUiNode<Godot.Line2D, UiNode_Line2D>
  74. {
  75. public UiNode_Line2D(Godot.Line2D node) : base(node) { }
  76. public override UiNode_Line2D Clone() => new ((Godot.Line2D)Instance.Duplicate());
  77. }
  78.  
  79. /// <summary>
  80. /// 类型: <see cref="Godot.Label"/>, 路径: RoomUI.InteractiveTipBar.NameLabel
  81. /// </summary>
  82. public class UiNode_NameLabel : IUiNode<Godot.Label, UiNode_NameLabel>
  83. {
  84. public UiNode_NameLabel(Godot.Label node) : base(node) { }
  85. public override UiNode_NameLabel Clone() => new ((Godot.Label)Instance.Duplicate());
  86. }
  87.  
  88. /// <summary>
  89. /// 类型: <see cref="Godot.Control"/>, 路径: RoomUI.InteractiveTipBar
  90. /// </summary>
  91. public class UiNode_InteractiveTipBar : IUiNode<Godot.Control, UiNode_InteractiveTipBar>
  92. {
  93. /// <summary>
  94. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.Icon
  95. /// </summary>
  96. public UiNode_Icon L_Icon
  97. {
  98. get
  99. {
  100. if (_L_Icon == null) _L_Icon = new UiNode_Icon(Instance.GetNodeOrNull<Godot.TextureRect>("Icon"));
  101. return _L_Icon;
  102. }
  103. }
  104. private UiNode_Icon _L_Icon;
  105.  
  106. /// <summary>
  107. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.InteractiveIcon
  108. /// </summary>
  109. public UiNode_InteractiveIcon L_InteractiveIcon
  110. {
  111. get
  112. {
  113. if (_L_InteractiveIcon == null) _L_InteractiveIcon = new UiNode_InteractiveIcon(Instance.GetNodeOrNull<Godot.TextureRect>("InteractiveIcon"));
  114. return _L_InteractiveIcon;
  115. }
  116. }
  117. private UiNode_InteractiveIcon _L_InteractiveIcon;
  118.  
  119. /// <summary>
  120. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Line2D"/>, 节点路径: RoomUI.Line2D
  121. /// </summary>
  122. public UiNode_Line2D L_Line2D
  123. {
  124. get
  125. {
  126. if (_L_Line2D == null) _L_Line2D = new UiNode_Line2D(Instance.GetNodeOrNull<Godot.Line2D>("Line2D"));
  127. return _L_Line2D;
  128. }
  129. }
  130. private UiNode_Line2D _L_Line2D;
  131.  
  132. /// <summary>
  133. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: RoomUI.NameLabel
  134. /// </summary>
  135. public UiNode_NameLabel L_NameLabel
  136. {
  137. get
  138. {
  139. if (_L_NameLabel == null) _L_NameLabel = new UiNode_NameLabel(Instance.GetNodeOrNull<Godot.Label>("NameLabel"));
  140. return _L_NameLabel;
  141. }
  142. }
  143. private UiNode_NameLabel _L_NameLabel;
  144.  
  145. public UiNode_InteractiveTipBar(Godot.Control node) : base(node) { }
  146. public override UiNode_InteractiveTipBar Clone() => new ((Godot.Control)Instance.Duplicate());
  147. }
  148.  
  149. /// <summary>
  150. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: RoomUI.ReloadBar.Slot.Block
  151. /// </summary>
  152. public class UiNode_Block : IUiNode<Godot.Sprite2D, UiNode_Block>
  153. {
  154. public UiNode_Block(Godot.Sprite2D node) : base(node) { }
  155. public override UiNode_Block Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
  156. }
  157.  
  158. /// <summary>
  159. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.ReloadBar.Slot
  160. /// </summary>
  161. public class UiNode_Slot : IUiNode<Godot.TextureRect, UiNode_Slot>
  162. {
  163. /// <summary>
  164. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: RoomUI.ReloadBar.Block
  165. /// </summary>
  166. public UiNode_Block L_Block
  167. {
  168. get
  169. {
  170. if (_L_Block == null) _L_Block = new UiNode_Block(Instance.GetNodeOrNull<Godot.Sprite2D>("Block"));
  171. return _L_Block;
  172. }
  173. }
  174. private UiNode_Block _L_Block;
  175.  
  176. public UiNode_Slot(Godot.TextureRect node) : base(node) { }
  177. public override UiNode_Slot Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  178. }
  179.  
  180. /// <summary>
  181. /// 类型: <see cref="Godot.Control"/>, 路径: RoomUI.ReloadBar
  182. /// </summary>
  183. public class UiNode_ReloadBar : IUiNode<Godot.Control, UiNode_ReloadBar>
  184. {
  185. /// <summary>
  186. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.Slot
  187. /// </summary>
  188. public UiNode_Slot L_Slot
  189. {
  190. get
  191. {
  192. if (_L_Slot == null) _L_Slot = new UiNode_Slot(Instance.GetNodeOrNull<Godot.TextureRect>("Slot"));
  193. return _L_Slot;
  194. }
  195. }
  196. private UiNode_Slot _L_Slot;
  197.  
  198. public UiNode_ReloadBar(Godot.Control node) : base(node) { }
  199. public override UiNode_ReloadBar Clone() => new ((Godot.Control)Instance.Duplicate());
  200. }
  201.  
  202. /// <summary>
  203. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.Control.LifeBar.Life
  204. /// </summary>
  205. public class UiNode_Life : IUiNode<Godot.TextureRect, UiNode_Life>
  206. {
  207. public UiNode_Life(Godot.TextureRect node) : base(node) { }
  208. public override UiNode_Life Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  209. }
  210.  
  211. /// <summary>
  212. /// 类型: <see cref="Godot.Control"/>, 路径: RoomUI.Control.LifeBar
  213. /// </summary>
  214. public class UiNode_LifeBar : IUiNode<Godot.Control, UiNode_LifeBar>
  215. {
  216. /// <summary>
  217. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.Control.Life
  218. /// </summary>
  219. public UiNode_Life L_Life
  220. {
  221. get
  222. {
  223. if (_L_Life == null) _L_Life = new UiNode_Life(Instance.GetNodeOrNull<Godot.TextureRect>("Life"));
  224. return _L_Life;
  225. }
  226. }
  227. private UiNode_Life _L_Life;
  228.  
  229. public UiNode_LifeBar(Godot.Control node) : base(node) { }
  230. public override UiNode_LifeBar Clone() => new ((Godot.Control)Instance.Duplicate());
  231. }
  232.  
  233. /// <summary>
  234. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.Control.MapBar
  235. /// </summary>
  236. public class UiNode_MapBar : IUiNode<Godot.TextureRect, UiNode_MapBar>
  237. {
  238. public UiNode_MapBar(Godot.TextureRect node) : base(node) { }
  239. public override UiNode_MapBar Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  240. }
  241.  
  242. /// <summary>
  243. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: RoomUI.Control.ActivePropBar.ActivePropBg
  244. /// </summary>
  245. public class UiNode_ActivePropBg : IUiNode<Godot.NinePatchRect, UiNode_ActivePropBg>
  246. {
  247. public UiNode_ActivePropBg(Godot.NinePatchRect node) : base(node) { }
  248. public override UiNode_ActivePropBg Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
  249. }
  250.  
  251. /// <summary>
  252. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.Control.ActivePropBar.ActivePropSprite
  253. /// </summary>
  254. public class UiNode_ActivePropSprite : IUiNode<Godot.TextureRect, UiNode_ActivePropSprite>
  255. {
  256. public UiNode_ActivePropSprite(Godot.TextureRect node) : base(node) { }
  257. public override UiNode_ActivePropSprite Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  258. }
  259.  
  260. /// <summary>
  261. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: RoomUI.Control.ActivePropBar.ActivePropGrey
  262. /// </summary>
  263. public class UiNode_ActivePropGrey : IUiNode<Godot.Sprite2D, UiNode_ActivePropGrey>
  264. {
  265. public UiNode_ActivePropGrey(Godot.Sprite2D node) : base(node) { }
  266. public override UiNode_ActivePropGrey Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
  267. }
  268.  
  269. /// <summary>
  270. /// 类型: <see cref="Godot.Label"/>, 路径: RoomUI.Control.ActivePropBar.ActivePropCount
  271. /// </summary>
  272. public class UiNode_ActivePropCount : IUiNode<Godot.Label, UiNode_ActivePropCount>
  273. {
  274. public UiNode_ActivePropCount(Godot.Label node) : base(node) { }
  275. public override UiNode_ActivePropCount Clone() => new ((Godot.Label)Instance.Duplicate());
  276. }
  277.  
  278. /// <summary>
  279. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: RoomUI.Control.ActivePropBar.ActivePropPanel
  280. /// </summary>
  281. public class UiNode_ActivePropPanel : IUiNode<Godot.NinePatchRect, UiNode_ActivePropPanel>
  282. {
  283. public UiNode_ActivePropPanel(Godot.NinePatchRect node) : base(node) { }
  284. public override UiNode_ActivePropPanel Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
  285. }
  286.  
  287. /// <summary>
  288. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: RoomUI.Control.ActivePropBar.ActivePropChargeProgress
  289. /// </summary>
  290. public class UiNode_ActivePropChargeProgress : IUiNode<Godot.NinePatchRect, UiNode_ActivePropChargeProgress>
  291. {
  292. public UiNode_ActivePropChargeProgress(Godot.NinePatchRect node) : base(node) { }
  293. public override UiNode_ActivePropChargeProgress Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
  294. }
  295.  
  296. /// <summary>
  297. /// 类型: <see cref="Godot.Control"/>, 路径: RoomUI.Control.ActivePropBar
  298. /// </summary>
  299. public class UiNode_ActivePropBar : IUiNode<Godot.Control, UiNode_ActivePropBar>
  300. {
  301. /// <summary>
  302. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomUI.Control.ActivePropBg
  303. /// </summary>
  304. public UiNode_ActivePropBg L_ActivePropBg
  305. {
  306. get
  307. {
  308. if (_L_ActivePropBg == null) _L_ActivePropBg = new UiNode_ActivePropBg(Instance.GetNodeOrNull<Godot.NinePatchRect>("ActivePropBg"));
  309. return _L_ActivePropBg;
  310. }
  311. }
  312. private UiNode_ActivePropBg _L_ActivePropBg;
  313.  
  314. /// <summary>
  315. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.Control.ActivePropSprite
  316. /// </summary>
  317. public UiNode_ActivePropSprite L_ActivePropSprite
  318. {
  319. get
  320. {
  321. if (_L_ActivePropSprite == null) _L_ActivePropSprite = new UiNode_ActivePropSprite(Instance.GetNodeOrNull<Godot.TextureRect>("ActivePropSprite"));
  322. return _L_ActivePropSprite;
  323. }
  324. }
  325. private UiNode_ActivePropSprite _L_ActivePropSprite;
  326.  
  327. /// <summary>
  328. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: RoomUI.Control.ActivePropGrey
  329. /// </summary>
  330. public UiNode_ActivePropGrey L_ActivePropGrey
  331. {
  332. get
  333. {
  334. if (_L_ActivePropGrey == null) _L_ActivePropGrey = new UiNode_ActivePropGrey(Instance.GetNodeOrNull<Godot.Sprite2D>("ActivePropGrey"));
  335. return _L_ActivePropGrey;
  336. }
  337. }
  338. private UiNode_ActivePropGrey _L_ActivePropGrey;
  339.  
  340. /// <summary>
  341. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: RoomUI.Control.ActivePropCount
  342. /// </summary>
  343. public UiNode_ActivePropCount L_ActivePropCount
  344. {
  345. get
  346. {
  347. if (_L_ActivePropCount == null) _L_ActivePropCount = new UiNode_ActivePropCount(Instance.GetNodeOrNull<Godot.Label>("ActivePropCount"));
  348. return _L_ActivePropCount;
  349. }
  350. }
  351. private UiNode_ActivePropCount _L_ActivePropCount;
  352.  
  353. /// <summary>
  354. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomUI.Control.ActivePropPanel
  355. /// </summary>
  356. public UiNode_ActivePropPanel L_ActivePropPanel
  357. {
  358. get
  359. {
  360. if (_L_ActivePropPanel == null) _L_ActivePropPanel = new UiNode_ActivePropPanel(Instance.GetNodeOrNull<Godot.NinePatchRect>("ActivePropPanel"));
  361. return _L_ActivePropPanel;
  362. }
  363. }
  364. private UiNode_ActivePropPanel _L_ActivePropPanel;
  365.  
  366. /// <summary>
  367. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomUI.Control.ActivePropChargeProgress
  368. /// </summary>
  369. public UiNode_ActivePropChargeProgress L_ActivePropChargeProgress
  370. {
  371. get
  372. {
  373. if (_L_ActivePropChargeProgress == null) _L_ActivePropChargeProgress = new UiNode_ActivePropChargeProgress(Instance.GetNodeOrNull<Godot.NinePatchRect>("ActivePropChargeProgress"));
  374. return _L_ActivePropChargeProgress;
  375. }
  376. }
  377. private UiNode_ActivePropChargeProgress _L_ActivePropChargeProgress;
  378.  
  379. public UiNode_ActivePropBar(Godot.Control node) : base(node) { }
  380. public override UiNode_ActivePropBar Clone() => new ((Godot.Control)Instance.Duplicate());
  381. }
  382.  
  383. /// <summary>
  384. /// 类型: <see cref="Godot.TextureRect"/>, 路径: RoomUI.Control.WeaponBar.WeaponPanel.WeaponSprite
  385. /// </summary>
  386. public class UiNode_WeaponSprite : IUiNode<Godot.TextureRect, UiNode_WeaponSprite>
  387. {
  388. public UiNode_WeaponSprite(Godot.TextureRect node) : base(node) { }
  389. public override UiNode_WeaponSprite Clone() => new ((Godot.TextureRect)Instance.Duplicate());
  390. }
  391.  
  392. /// <summary>
  393. /// 类型: <see cref="Godot.NinePatchRect"/>, 路径: RoomUI.Control.WeaponBar.WeaponPanel
  394. /// </summary>
  395. public class UiNode_WeaponPanel : IUiNode<Godot.NinePatchRect, UiNode_WeaponPanel>
  396. {
  397. /// <summary>
  398. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.Control.WeaponBar.WeaponSprite
  399. /// </summary>
  400. public UiNode_WeaponSprite L_WeaponSprite
  401. {
  402. get
  403. {
  404. if (_L_WeaponSprite == null) _L_WeaponSprite = new UiNode_WeaponSprite(Instance.GetNodeOrNull<Godot.TextureRect>("WeaponSprite"));
  405. return _L_WeaponSprite;
  406. }
  407. }
  408. private UiNode_WeaponSprite _L_WeaponSprite;
  409.  
  410. public UiNode_WeaponPanel(Godot.NinePatchRect node) : base(node) { }
  411. public override UiNode_WeaponPanel Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
  412. }
  413.  
  414. /// <summary>
  415. /// 类型: <see cref="Godot.Label"/>, 路径: RoomUI.Control.WeaponBar.AmmoCount
  416. /// </summary>
  417. public class UiNode_AmmoCount : IUiNode<Godot.Label, UiNode_AmmoCount>
  418. {
  419. public UiNode_AmmoCount(Godot.Label node) : base(node) { }
  420. public override UiNode_AmmoCount Clone() => new ((Godot.Label)Instance.Duplicate());
  421. }
  422.  
  423. /// <summary>
  424. /// 类型: <see cref="Godot.Control"/>, 路径: RoomUI.Control.WeaponBar
  425. /// </summary>
  426. public class UiNode_WeaponBar : IUiNode<Godot.Control, UiNode_WeaponBar>
  427. {
  428. /// <summary>
  429. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.NinePatchRect"/>, 节点路径: RoomUI.Control.WeaponPanel
  430. /// </summary>
  431. public UiNode_WeaponPanel L_WeaponPanel
  432. {
  433. get
  434. {
  435. if (_L_WeaponPanel == null) _L_WeaponPanel = new UiNode_WeaponPanel(Instance.GetNodeOrNull<Godot.NinePatchRect>("WeaponPanel"));
  436. return _L_WeaponPanel;
  437. }
  438. }
  439. private UiNode_WeaponPanel _L_WeaponPanel;
  440.  
  441. /// <summary>
  442. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: RoomUI.Control.AmmoCount
  443. /// </summary>
  444. public UiNode_AmmoCount L_AmmoCount
  445. {
  446. get
  447. {
  448. if (_L_AmmoCount == null) _L_AmmoCount = new UiNode_AmmoCount(Instance.GetNodeOrNull<Godot.Label>("AmmoCount"));
  449. return _L_AmmoCount;
  450. }
  451. }
  452. private UiNode_AmmoCount _L_AmmoCount;
  453.  
  454. public UiNode_WeaponBar(Godot.Control node) : base(node) { }
  455. public override UiNode_WeaponBar Clone() => new ((Godot.Control)Instance.Duplicate());
  456. }
  457.  
  458. /// <summary>
  459. /// 类型: <see cref="Godot.Control"/>, 路径: RoomUI.Control
  460. /// </summary>
  461. public class UiNode_Control : IUiNode<Godot.Control, UiNode_Control>
  462. {
  463. /// <summary>
  464. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: RoomUI.LifeBar
  465. /// </summary>
  466. public UiNode_LifeBar L_LifeBar
  467. {
  468. get
  469. {
  470. if (_L_LifeBar == null) _L_LifeBar = new UiNode_LifeBar(Instance.GetNodeOrNull<Godot.Control>("LifeBar"));
  471. return _L_LifeBar;
  472. }
  473. }
  474. private UiNode_LifeBar _L_LifeBar;
  475.  
  476. /// <summary>
  477. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: RoomUI.MapBar
  478. /// </summary>
  479. public UiNode_MapBar L_MapBar
  480. {
  481. get
  482. {
  483. if (_L_MapBar == null) _L_MapBar = new UiNode_MapBar(Instance.GetNodeOrNull<Godot.TextureRect>("MapBar"));
  484. return _L_MapBar;
  485. }
  486. }
  487. private UiNode_MapBar _L_MapBar;
  488.  
  489. /// <summary>
  490. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: RoomUI.ActivePropBar
  491. /// </summary>
  492. public UiNode_ActivePropBar L_ActivePropBar
  493. {
  494. get
  495. {
  496. if (_L_ActivePropBar == null) _L_ActivePropBar = new UiNode_ActivePropBar(Instance.GetNodeOrNull<Godot.Control>("ActivePropBar"));
  497. return _L_ActivePropBar;
  498. }
  499. }
  500. private UiNode_ActivePropBar _L_ActivePropBar;
  501.  
  502. /// <summary>
  503. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: RoomUI.WeaponBar
  504. /// </summary>
  505. public UiNode_WeaponBar L_WeaponBar
  506. {
  507. get
  508. {
  509. if (_L_WeaponBar == null) _L_WeaponBar = new UiNode_WeaponBar(Instance.GetNodeOrNull<Godot.Control>("WeaponBar"));
  510. return _L_WeaponBar;
  511. }
  512. }
  513. private UiNode_WeaponBar _L_WeaponBar;
  514.  
  515. public UiNode_Control(Godot.Control node) : base(node) { }
  516. public override UiNode_Control Clone() => new ((Godot.Control)Instance.Duplicate());
  517. }
  518.  
  519. }