Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / tileSetEditorTerrain / TileSetEditorTerrain.cs
@小李xl 小李xl on 11 Jan 2024 37 KB 制作2x2地形,还有bug
  1. namespace UI.TileSetEditorTerrain;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class TileSetEditorTerrain : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.VSplitContainer"/>, 节点路径: TileSetEditorTerrain.VSplitContainer
  10. /// </summary>
  11. public VSplitContainer L_VSplitContainer
  12. {
  13. get
  14. {
  15. if (_L_VSplitContainer == null) _L_VSplitContainer = new VSplitContainer((TileSetEditorTerrainPanel)this, GetNode<Godot.VSplitContainer>("VSplitContainer"));
  16. return _L_VSplitContainer;
  17. }
  18. }
  19. private VSplitContainer _L_VSplitContainer;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: TileSetEditorTerrain.DragSprite
  23. /// </summary>
  24. public DragSprite L_DragSprite
  25. {
  26. get
  27. {
  28. if (_L_DragSprite == null) _L_DragSprite = new DragSprite((TileSetEditorTerrainPanel)this, GetNode<Godot.Sprite2D>("DragSprite"));
  29. return _L_DragSprite;
  30. }
  31. }
  32. private DragSprite _L_DragSprite;
  33.  
  34.  
  35. public TileSetEditorTerrain() : base(nameof(TileSetEditorTerrain))
  36. {
  37. }
  38.  
  39. public sealed override void OnInitNestedUi()
  40. {
  41. _ = L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg;
  42. _ = L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_Brush;
  43. _ = L_VSplitContainer.L_PanelBottom.L_MarginContainer.L_BottomBg;
  44.  
  45. }
  46.  
  47. /// <summary>
  48. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.CellRoot.RightCell.CellTexture
  49. /// </summary>
  50. public class CellTexture : UiNode<TileSetEditorTerrainPanel, Godot.Sprite2D, CellTexture>
  51. {
  52. public CellTexture(TileSetEditorTerrainPanel uiPanel, Godot.Sprite2D node) : base(uiPanel, node) { }
  53. public override CellTexture Clone() => new (UiPanel, (Godot.Sprite2D)Instance.Duplicate());
  54. }
  55.  
  56. /// <summary>
  57. /// 类型: <see cref="Godot.Control"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.CellRoot.RightCell
  58. /// </summary>
  59. public class RightCell : UiNode<TileSetEditorTerrainPanel, Godot.Control, RightCell>
  60. {
  61. /// <summary>
  62. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.CellRoot.CellTexture
  63. /// </summary>
  64. public CellTexture L_CellTexture
  65. {
  66. get
  67. {
  68. if (_L_CellTexture == null) _L_CellTexture = new CellTexture(UiPanel, Instance.GetNode<Godot.Sprite2D>("CellTexture"));
  69. return _L_CellTexture;
  70. }
  71. }
  72. private CellTexture _L_CellTexture;
  73.  
  74. public RightCell(TileSetEditorTerrainPanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  75. public override RightCell Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  76. }
  77.  
  78. /// <summary>
  79. /// 类型: <see cref="Godot.Control"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.CellRoot
  80. /// </summary>
  81. public class CellRoot : UiNode<TileSetEditorTerrainPanel, Godot.Control, CellRoot>
  82. {
  83. /// <summary>
  84. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.RightCell
  85. /// </summary>
  86. public RightCell L_RightCell
  87. {
  88. get
  89. {
  90. if (_L_RightCell == null) _L_RightCell = new RightCell(UiPanel, Instance.GetNode<Godot.Control>("RightCell"));
  91. return _L_RightCell;
  92. }
  93. }
  94. private RightCell _L_RightCell;
  95.  
  96. public CellRoot(TileSetEditorTerrainPanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  97. public override CellRoot Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  98. }
  99.  
  100. /// <summary>
  101. /// 类型: <see cref="Godot.Label"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture1.Label
  102. /// </summary>
  103. public class Label : UiNode<TileSetEditorTerrainPanel, Godot.Label, Label>
  104. {
  105. public Label(TileSetEditorTerrainPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  106. public override Label Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  107. }
  108.  
  109. /// <summary>
  110. /// 类型: <see cref="Godot.TextureRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture1
  111. /// </summary>
  112. public class TerrainTexture1 : UiNode<TileSetEditorTerrainPanel, Godot.TextureRect, TerrainTexture1>
  113. {
  114. /// <summary>
  115. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.Label
  116. /// </summary>
  117. public Label L_Label
  118. {
  119. get
  120. {
  121. if (_L_Label == null) _L_Label = new Label(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  122. return _L_Label;
  123. }
  124. }
  125. private Label _L_Label;
  126.  
  127. public TerrainTexture1(TileSetEditorTerrainPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  128. public override TerrainTexture1 Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  129. }
  130.  
  131. /// <summary>
  132. /// 类型: <see cref="Godot.Label"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture2.Label
  133. /// </summary>
  134. public class Label_1 : UiNode<TileSetEditorTerrainPanel, Godot.Label, Label_1>
  135. {
  136. public Label_1(TileSetEditorTerrainPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  137. public override Label_1 Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  138. }
  139.  
  140. /// <summary>
  141. /// 类型: <see cref="Godot.TextureRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture2
  142. /// </summary>
  143. public class TerrainTexture2 : UiNode<TileSetEditorTerrainPanel, Godot.TextureRect, TerrainTexture2>
  144. {
  145. /// <summary>
  146. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.Label
  147. /// </summary>
  148. public Label_1 L_Label
  149. {
  150. get
  151. {
  152. if (_L_Label == null) _L_Label = new Label_1(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  153. return _L_Label;
  154. }
  155. }
  156. private Label_1 _L_Label;
  157.  
  158. public TerrainTexture2(TileSetEditorTerrainPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  159. public override TerrainTexture2 Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  160. }
  161.  
  162. /// <summary>
  163. /// 类型: <see cref="Godot.Label"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture3.Label
  164. /// </summary>
  165. public class Label_2 : UiNode<TileSetEditorTerrainPanel, Godot.Label, Label_2>
  166. {
  167. public Label_2(TileSetEditorTerrainPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  168. public override Label_2 Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  169. }
  170.  
  171. /// <summary>
  172. /// 类型: <see cref="Godot.TextureRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture3
  173. /// </summary>
  174. public class TerrainTexture3 : UiNode<TileSetEditorTerrainPanel, Godot.TextureRect, TerrainTexture3>
  175. {
  176. /// <summary>
  177. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.Label
  178. /// </summary>
  179. public Label_2 L_Label
  180. {
  181. get
  182. {
  183. if (_L_Label == null) _L_Label = new Label_2(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  184. return _L_Label;
  185. }
  186. }
  187. private Label_2 _L_Label;
  188.  
  189. public TerrainTexture3(TileSetEditorTerrainPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  190. public override TerrainTexture3 Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  191. }
  192.  
  193. /// <summary>
  194. /// 类型: <see cref="Godot.Label"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture4.Label
  195. /// </summary>
  196. public class Label_3 : UiNode<TileSetEditorTerrainPanel, Godot.Label, Label_3>
  197. {
  198. public Label_3(TileSetEditorTerrainPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  199. public override Label_3 Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  200. }
  201.  
  202. /// <summary>
  203. /// 类型: <see cref="Godot.TextureRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture4
  204. /// </summary>
  205. public class TerrainTexture4 : UiNode<TileSetEditorTerrainPanel, Godot.TextureRect, TerrainTexture4>
  206. {
  207. /// <summary>
  208. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.Label
  209. /// </summary>
  210. public Label_3 L_Label
  211. {
  212. get
  213. {
  214. if (_L_Label == null) _L_Label = new Label_3(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  215. return _L_Label;
  216. }
  217. }
  218. private Label_3 _L_Label;
  219.  
  220. public TerrainTexture4(TileSetEditorTerrainPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  221. public override TerrainTexture4 Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  222. }
  223.  
  224. /// <summary>
  225. /// 类型: <see cref="UI.TileSetEditorTerrain.TerrainBrush"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.Brush
  226. /// </summary>
  227. public class Brush : UiNode<TileSetEditorTerrainPanel, UI.TileSetEditorTerrain.TerrainBrush, Brush>
  228. {
  229. public Brush(TileSetEditorTerrainPanel uiPanel, UI.TileSetEditorTerrain.TerrainBrush node) : base(uiPanel, node) { }
  230. public override Brush Clone() => new (UiPanel, (UI.TileSetEditorTerrain.TerrainBrush)Instance.Duplicate());
  231. }
  232.  
  233. /// <summary>
  234. /// 类型: <see cref="Godot.Control"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot
  235. /// </summary>
  236. public class TerrainRoot : UiNode<TileSetEditorTerrainPanel, Godot.Control, TerrainRoot>
  237. {
  238. /// <summary>
  239. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.CellRoot
  240. /// </summary>
  241. public CellRoot L_CellRoot
  242. {
  243. get
  244. {
  245. if (_L_CellRoot == null) _L_CellRoot = new CellRoot(UiPanel, Instance.GetNode<Godot.Control>("CellRoot"));
  246. return _L_CellRoot;
  247. }
  248. }
  249. private CellRoot _L_CellRoot;
  250.  
  251. /// <summary>
  252. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainTexture1
  253. /// </summary>
  254. public TerrainTexture1 L_TerrainTexture1
  255. {
  256. get
  257. {
  258. if (_L_TerrainTexture1 == null) _L_TerrainTexture1 = new TerrainTexture1(UiPanel, Instance.GetNode<Godot.TextureRect>("TerrainTexture1"));
  259. return _L_TerrainTexture1;
  260. }
  261. }
  262. private TerrainTexture1 _L_TerrainTexture1;
  263.  
  264. /// <summary>
  265. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainTexture2
  266. /// </summary>
  267. public TerrainTexture2 L_TerrainTexture2
  268. {
  269. get
  270. {
  271. if (_L_TerrainTexture2 == null) _L_TerrainTexture2 = new TerrainTexture2(UiPanel, Instance.GetNode<Godot.TextureRect>("TerrainTexture2"));
  272. return _L_TerrainTexture2;
  273. }
  274. }
  275. private TerrainTexture2 _L_TerrainTexture2;
  276.  
  277. /// <summary>
  278. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainTexture3
  279. /// </summary>
  280. public TerrainTexture3 L_TerrainTexture3
  281. {
  282. get
  283. {
  284. if (_L_TerrainTexture3 == null) _L_TerrainTexture3 = new TerrainTexture3(UiPanel, Instance.GetNode<Godot.TextureRect>("TerrainTexture3"));
  285. return _L_TerrainTexture3;
  286. }
  287. }
  288. private TerrainTexture3 _L_TerrainTexture3;
  289.  
  290. /// <summary>
  291. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainTexture4
  292. /// </summary>
  293. public TerrainTexture4 L_TerrainTexture4
  294. {
  295. get
  296. {
  297. if (_L_TerrainTexture4 == null) _L_TerrainTexture4 = new TerrainTexture4(UiPanel, Instance.GetNode<Godot.TextureRect>("TerrainTexture4"));
  298. return _L_TerrainTexture4;
  299. }
  300. }
  301. private TerrainTexture4 _L_TerrainTexture4;
  302.  
  303. /// <summary>
  304. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.TileSetEditorTerrain.TerrainBrush"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.Brush
  305. /// </summary>
  306. public Brush L_Brush
  307. {
  308. get
  309. {
  310. if (_L_Brush == null) _L_Brush = new Brush(UiPanel, Instance.GetNode<UI.TileSetEditorTerrain.TerrainBrush>("Brush"));
  311. return _L_Brush;
  312. }
  313. }
  314. private Brush _L_Brush;
  315.  
  316. public TerrainRoot(TileSetEditorTerrainPanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  317. public override TerrainRoot Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  318. }
  319.  
  320. /// <summary>
  321. /// 类型: <see cref="Godot.ColorRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.Grid
  322. /// </summary>
  323. public class Grid : UiNode<TileSetEditorTerrainPanel, Godot.ColorRect, Grid>
  324. {
  325. public Grid(TileSetEditorTerrainPanel uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  326. public override Grid Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  327. }
  328.  
  329. /// <summary>
  330. /// 类型: <see cref="Godot.TextureButton"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.FocusBtn
  331. /// </summary>
  332. public class FocusBtn : UiNode<TileSetEditorTerrainPanel, Godot.TextureButton, FocusBtn>
  333. {
  334. public FocusBtn(TileSetEditorTerrainPanel uiPanel, Godot.TextureButton node) : base(uiPanel, node) { }
  335. public override FocusBtn Clone() => new (UiPanel, (Godot.TextureButton)Instance.Duplicate());
  336. }
  337.  
  338. /// <summary>
  339. /// 类型: <see cref="Godot.OptionButton"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainTypeButton
  340. /// </summary>
  341. public class TerrainTypeButton : UiNode<TileSetEditorTerrainPanel, Godot.OptionButton, TerrainTypeButton>
  342. {
  343. public TerrainTypeButton(TileSetEditorTerrainPanel uiPanel, Godot.OptionButton node) : base(uiPanel, node) { }
  344. public override TerrainTypeButton Clone() => new (UiPanel, (Godot.OptionButton)Instance.Duplicate());
  345. }
  346.  
  347. /// <summary>
  348. /// 类型: <see cref="UI.TileSetEditorTerrain.TileEditTerrain"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg
  349. /// </summary>
  350. public class TopBg : UiNode<TileSetEditorTerrainPanel, UI.TileSetEditorTerrain.TileEditTerrain, TopBg>
  351. {
  352. /// <summary>
  353. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TerrainRoot
  354. /// </summary>
  355. public TerrainRoot L_TerrainRoot
  356. {
  357. get
  358. {
  359. if (_L_TerrainRoot == null) _L_TerrainRoot = new TerrainRoot(UiPanel, Instance.GetNode<Godot.Control>("TerrainRoot"));
  360. return _L_TerrainRoot;
  361. }
  362. }
  363. private TerrainRoot _L_TerrainRoot;
  364.  
  365. /// <summary>
  366. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.Grid
  367. /// </summary>
  368. public Grid L_Grid
  369. {
  370. get
  371. {
  372. if (_L_Grid == null) _L_Grid = new Grid(UiPanel, Instance.GetNode<Godot.ColorRect>("Grid"));
  373. return _L_Grid;
  374. }
  375. }
  376. private Grid _L_Grid;
  377.  
  378. /// <summary>
  379. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.FocusBtn
  380. /// </summary>
  381. public FocusBtn L_FocusBtn
  382. {
  383. get
  384. {
  385. if (_L_FocusBtn == null) _L_FocusBtn = new FocusBtn(UiPanel, Instance.GetNode<Godot.TextureButton>("FocusBtn"));
  386. return _L_FocusBtn;
  387. }
  388. }
  389. private FocusBtn _L_FocusBtn;
  390.  
  391. /// <summary>
  392. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.OptionButton"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TerrainTypeButton
  393. /// </summary>
  394. public TerrainTypeButton L_TerrainTypeButton
  395. {
  396. get
  397. {
  398. if (_L_TerrainTypeButton == null) _L_TerrainTypeButton = new TerrainTypeButton(UiPanel, Instance.GetNode<Godot.OptionButton>("TerrainTypeButton"));
  399. return _L_TerrainTypeButton;
  400. }
  401. }
  402. private TerrainTypeButton _L_TerrainTypeButton;
  403.  
  404. public TopBg(TileSetEditorTerrainPanel uiPanel, UI.TileSetEditorTerrain.TileEditTerrain node) : base(uiPanel, node) { }
  405. public override TopBg Clone() => new (UiPanel, (UI.TileSetEditorTerrain.TileEditTerrain)Instance.Duplicate());
  406. }
  407.  
  408. /// <summary>
  409. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer
  410. /// </summary>
  411. public class MarginContainer : UiNode<TileSetEditorTerrainPanel, Godot.MarginContainer, MarginContainer>
  412. {
  413. /// <summary>
  414. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.TileSetEditorTerrain.TileEditTerrain"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.TopBg
  415. /// </summary>
  416. public TopBg L_TopBg
  417. {
  418. get
  419. {
  420. if (_L_TopBg == null) _L_TopBg = new TopBg(UiPanel, Instance.GetNode<UI.TileSetEditorTerrain.TileEditTerrain>("TopBg"));
  421. return _L_TopBg;
  422. }
  423. }
  424. private TopBg _L_TopBg;
  425.  
  426. public MarginContainer(TileSetEditorTerrainPanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  427. public override MarginContainer Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  428. }
  429.  
  430. /// <summary>
  431. /// 类型: <see cref="Godot.Panel"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelTop
  432. /// </summary>
  433. public class PanelTop : UiNode<TileSetEditorTerrainPanel, Godot.Panel, PanelTop>
  434. {
  435. /// <summary>
  436. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.MarginContainer
  437. /// </summary>
  438. public MarginContainer L_MarginContainer
  439. {
  440. get
  441. {
  442. if (_L_MarginContainer == null) _L_MarginContainer = new MarginContainer(UiPanel, Instance.GetNode<Godot.MarginContainer>("MarginContainer"));
  443. return _L_MarginContainer;
  444. }
  445. }
  446. private MarginContainer _L_MarginContainer;
  447.  
  448. public PanelTop(TileSetEditorTerrainPanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  449. public override PanelTop Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  450. }
  451.  
  452. /// <summary>
  453. /// 类型: <see cref="Godot.Control"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture.CellRoot.BottomCell
  454. /// </summary>
  455. public class BottomCell : UiNode<TileSetEditorTerrainPanel, Godot.Control, BottomCell>
  456. {
  457. public BottomCell(TileSetEditorTerrainPanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  458. public override BottomCell Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  459. }
  460.  
  461. /// <summary>
  462. /// 类型: <see cref="Godot.Control"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture.CellRoot
  463. /// </summary>
  464. public class CellRoot_1 : UiNode<TileSetEditorTerrainPanel, Godot.Control, CellRoot_1>
  465. {
  466. /// <summary>
  467. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture.BottomCell
  468. /// </summary>
  469. public BottomCell L_BottomCell
  470. {
  471. get
  472. {
  473. if (_L_BottomCell == null) _L_BottomCell = new BottomCell(UiPanel, Instance.GetNode<Godot.Control>("BottomCell"));
  474. return _L_BottomCell;
  475. }
  476. }
  477. private BottomCell _L_BottomCell;
  478.  
  479. public CellRoot_1(TileSetEditorTerrainPanel uiPanel, Godot.Control node) : base(uiPanel, node) { }
  480. public override CellRoot_1 Clone() => new (UiPanel, (Godot.Control)Instance.Duplicate());
  481. }
  482.  
  483. /// <summary>
  484. /// 类型: <see cref="EditorMaskBrush"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture.MaskBrush
  485. /// </summary>
  486. public class MaskBrush : UiNode<TileSetEditorTerrainPanel, EditorMaskBrush, MaskBrush>
  487. {
  488. public MaskBrush(TileSetEditorTerrainPanel uiPanel, EditorMaskBrush node) : base(uiPanel, node) { }
  489. public override MaskBrush Clone() => new (UiPanel, (EditorMaskBrush)Instance.Duplicate());
  490. }
  491.  
  492. /// <summary>
  493. /// 类型: <see cref="Godot.TextureRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture
  494. /// </summary>
  495. public class TileTexture : UiNode<TileSetEditorTerrainPanel, Godot.TextureRect, TileTexture>
  496. {
  497. /// <summary>
  498. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.CellRoot
  499. /// </summary>
  500. public CellRoot_1 L_CellRoot
  501. {
  502. get
  503. {
  504. if (_L_CellRoot == null) _L_CellRoot = new CellRoot_1(UiPanel, Instance.GetNode<Godot.Control>("CellRoot"));
  505. return _L_CellRoot;
  506. }
  507. }
  508. private CellRoot_1 _L_CellRoot;
  509.  
  510. /// <summary>
  511. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="EditorMaskBrush"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.MaskBrush
  512. /// </summary>
  513. public MaskBrush L_MaskBrush
  514. {
  515. get
  516. {
  517. if (_L_MaskBrush == null) _L_MaskBrush = new MaskBrush(UiPanel, Instance.GetNode<EditorMaskBrush>("MaskBrush"));
  518. return _L_MaskBrush;
  519. }
  520. }
  521. private MaskBrush _L_MaskBrush;
  522.  
  523. public TileTexture(TileSetEditorTerrainPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  524. public override TileTexture Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  525. }
  526.  
  527. /// <summary>
  528. /// 类型: <see cref="Godot.ColorRect"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.Grid
  529. /// </summary>
  530. public class Grid_1 : UiNode<TileSetEditorTerrainPanel, Godot.ColorRect, Grid_1>
  531. {
  532. public Grid_1(TileSetEditorTerrainPanel uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  533. public override Grid_1 Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  534. }
  535.  
  536. /// <summary>
  537. /// 类型: <see cref="Godot.TextureButton"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.FocusBtn
  538. /// </summary>
  539. public class FocusBtn_1 : UiNode<TileSetEditorTerrainPanel, Godot.TextureButton, FocusBtn_1>
  540. {
  541. public FocusBtn_1(TileSetEditorTerrainPanel uiPanel, Godot.TextureButton node) : base(uiPanel, node) { }
  542. public override FocusBtn_1 Clone() => new (UiPanel, (Godot.TextureButton)Instance.Duplicate());
  543. }
  544.  
  545. /// <summary>
  546. /// 类型: <see cref="UI.TileSetEditorTerrain.TileEditArea"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg
  547. /// </summary>
  548. public class BottomBg : UiNode<TileSetEditorTerrainPanel, UI.TileSetEditorTerrain.TileEditArea, BottomBg>
  549. {
  550. /// <summary>
  551. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.TileTexture
  552. /// </summary>
  553. public TileTexture L_TileTexture
  554. {
  555. get
  556. {
  557. if (_L_TileTexture == null) _L_TileTexture = new TileTexture(UiPanel, Instance.GetNode<Godot.TextureRect>("TileTexture"));
  558. return _L_TileTexture;
  559. }
  560. }
  561. private TileTexture _L_TileTexture;
  562.  
  563. /// <summary>
  564. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.Grid
  565. /// </summary>
  566. public Grid_1 L_Grid
  567. {
  568. get
  569. {
  570. if (_L_Grid == null) _L_Grid = new Grid_1(UiPanel, Instance.GetNode<Godot.ColorRect>("Grid"));
  571. return _L_Grid;
  572. }
  573. }
  574. private Grid_1 _L_Grid;
  575.  
  576. /// <summary>
  577. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureButton"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.FocusBtn
  578. /// </summary>
  579. public FocusBtn_1 L_FocusBtn
  580. {
  581. get
  582. {
  583. if (_L_FocusBtn == null) _L_FocusBtn = new FocusBtn_1(UiPanel, Instance.GetNode<Godot.TextureButton>("FocusBtn"));
  584. return _L_FocusBtn;
  585. }
  586. }
  587. private FocusBtn_1 _L_FocusBtn;
  588.  
  589. public BottomBg(TileSetEditorTerrainPanel uiPanel, UI.TileSetEditorTerrain.TileEditArea node) : base(uiPanel, node) { }
  590. public override BottomBg Clone() => new (UiPanel, (UI.TileSetEditorTerrain.TileEditArea)Instance.Duplicate());
  591. }
  592.  
  593. /// <summary>
  594. /// 类型: <see cref="Godot.MarginContainer"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer
  595. /// </summary>
  596. public class MarginContainer_1 : UiNode<TileSetEditorTerrainPanel, Godot.MarginContainer, MarginContainer_1>
  597. {
  598. /// <summary>
  599. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="UI.TileSetEditorTerrain.TileEditArea"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.BottomBg
  600. /// </summary>
  601. public BottomBg L_BottomBg
  602. {
  603. get
  604. {
  605. if (_L_BottomBg == null) _L_BottomBg = new BottomBg(UiPanel, Instance.GetNode<UI.TileSetEditorTerrain.TileEditArea>("BottomBg"));
  606. return _L_BottomBg;
  607. }
  608. }
  609. private BottomBg _L_BottomBg;
  610.  
  611. public MarginContainer_1(TileSetEditorTerrainPanel uiPanel, Godot.MarginContainer node) : base(uiPanel, node) { }
  612. public override MarginContainer_1 Clone() => new (UiPanel, (Godot.MarginContainer)Instance.Duplicate());
  613. }
  614.  
  615. /// <summary>
  616. /// 类型: <see cref="Godot.Panel"/>, 路径: TileSetEditorTerrain.VSplitContainer.PanelBottom
  617. /// </summary>
  618. public class PanelBottom : UiNode<TileSetEditorTerrainPanel, Godot.Panel, PanelBottom>
  619. {
  620. /// <summary>
  621. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.MarginContainer"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.MarginContainer
  622. /// </summary>
  623. public MarginContainer_1 L_MarginContainer
  624. {
  625. get
  626. {
  627. if (_L_MarginContainer == null) _L_MarginContainer = new MarginContainer_1(UiPanel, Instance.GetNode<Godot.MarginContainer>("MarginContainer"));
  628. return _L_MarginContainer;
  629. }
  630. }
  631. private MarginContainer_1 _L_MarginContainer;
  632.  
  633. public PanelBottom(TileSetEditorTerrainPanel uiPanel, Godot.Panel node) : base(uiPanel, node) { }
  634. public override PanelBottom Clone() => new (UiPanel, (Godot.Panel)Instance.Duplicate());
  635. }
  636.  
  637. /// <summary>
  638. /// 类型: <see cref="Godot.VSplitContainer"/>, 路径: TileSetEditorTerrain.VSplitContainer
  639. /// </summary>
  640. public class VSplitContainer : UiNode<TileSetEditorTerrainPanel, Godot.VSplitContainer, VSplitContainer>
  641. {
  642. /// <summary>
  643. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: TileSetEditorTerrain.PanelTop
  644. /// </summary>
  645. public PanelTop L_PanelTop
  646. {
  647. get
  648. {
  649. if (_L_PanelTop == null) _L_PanelTop = new PanelTop(UiPanel, Instance.GetNode<Godot.Panel>("PanelTop"));
  650. return _L_PanelTop;
  651. }
  652. }
  653. private PanelTop _L_PanelTop;
  654.  
  655. /// <summary>
  656. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Panel"/>, 节点路径: TileSetEditorTerrain.PanelBottom
  657. /// </summary>
  658. public PanelBottom L_PanelBottom
  659. {
  660. get
  661. {
  662. if (_L_PanelBottom == null) _L_PanelBottom = new PanelBottom(UiPanel, Instance.GetNode<Godot.Panel>("PanelBottom"));
  663. return _L_PanelBottom;
  664. }
  665. }
  666. private PanelBottom _L_PanelBottom;
  667.  
  668. public VSplitContainer(TileSetEditorTerrainPanel uiPanel, Godot.VSplitContainer node) : base(uiPanel, node) { }
  669. public override VSplitContainer Clone() => new (UiPanel, (Godot.VSplitContainer)Instance.Duplicate());
  670. }
  671.  
  672. /// <summary>
  673. /// 类型: <see cref="Godot.Sprite2D"/>, 路径: TileSetEditorTerrain.DragSprite
  674. /// </summary>
  675. public class DragSprite : UiNode<TileSetEditorTerrainPanel, Godot.Sprite2D, DragSprite>
  676. {
  677. public DragSprite(TileSetEditorTerrainPanel uiPanel, Godot.Sprite2D node) : base(uiPanel, node) { }
  678. public override DragSprite Clone() => new (UiPanel, (Godot.Sprite2D)Instance.Duplicate());
  679. }
  680.  
  681.  
  682. /// <summary>
  683. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.CellRoot.RightCell.CellTexture
  684. /// </summary>
  685. public CellTexture S_CellTexture => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_CellRoot.L_RightCell.L_CellTexture;
  686.  
  687. /// <summary>
  688. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.CellRoot.RightCell
  689. /// </summary>
  690. public RightCell S_RightCell => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_CellRoot.L_RightCell;
  691.  
  692. /// <summary>
  693. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture1
  694. /// </summary>
  695. public TerrainTexture1 S_TerrainTexture1 => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_TerrainTexture1;
  696.  
  697. /// <summary>
  698. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture2
  699. /// </summary>
  700. public TerrainTexture2 S_TerrainTexture2 => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_TerrainTexture2;
  701.  
  702. /// <summary>
  703. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture3
  704. /// </summary>
  705. public TerrainTexture3 S_TerrainTexture3 => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_TerrainTexture3;
  706.  
  707. /// <summary>
  708. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.TerrainTexture4
  709. /// </summary>
  710. public TerrainTexture4 S_TerrainTexture4 => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_TerrainTexture4;
  711.  
  712. /// <summary>
  713. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.TileSetEditorTerrain.TerrainBrush"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot.Brush
  714. /// </summary>
  715. public Brush S_Brush => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot.L_Brush;
  716.  
  717. /// <summary>
  718. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainRoot
  719. /// </summary>
  720. public TerrainRoot S_TerrainRoot => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainRoot;
  721.  
  722. /// <summary>
  723. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.OptionButton"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg.TerrainTypeButton
  724. /// </summary>
  725. public TerrainTypeButton S_TerrainTypeButton => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg.L_TerrainTypeButton;
  726.  
  727. /// <summary>
  728. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.TileSetEditorTerrain.TileEditTerrain"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop.MarginContainer.TopBg
  729. /// </summary>
  730. public TopBg S_TopBg => L_VSplitContainer.L_PanelTop.L_MarginContainer.L_TopBg;
  731.  
  732. /// <summary>
  733. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelTop
  734. /// </summary>
  735. public PanelTop S_PanelTop => L_VSplitContainer.L_PanelTop;
  736.  
  737. /// <summary>
  738. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Control"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture.CellRoot.BottomCell
  739. /// </summary>
  740. public BottomCell S_BottomCell => L_VSplitContainer.L_PanelBottom.L_MarginContainer.L_BottomBg.L_TileTexture.L_CellRoot.L_BottomCell;
  741.  
  742. /// <summary>
  743. /// 场景中唯一名称的节点, 节点类型: <see cref="EditorMaskBrush"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture.MaskBrush
  744. /// </summary>
  745. public MaskBrush S_MaskBrush => L_VSplitContainer.L_PanelBottom.L_MarginContainer.L_BottomBg.L_TileTexture.L_MaskBrush;
  746.  
  747. /// <summary>
  748. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg.TileTexture
  749. /// </summary>
  750. public TileTexture S_TileTexture => L_VSplitContainer.L_PanelBottom.L_MarginContainer.L_BottomBg.L_TileTexture;
  751.  
  752. /// <summary>
  753. /// 场景中唯一名称的节点, 节点类型: <see cref="UI.TileSetEditorTerrain.TileEditArea"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom.MarginContainer.BottomBg
  754. /// </summary>
  755. public BottomBg S_BottomBg => L_VSplitContainer.L_PanelBottom.L_MarginContainer.L_BottomBg;
  756.  
  757. /// <summary>
  758. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Panel"/>, 节点路径: TileSetEditorTerrain.VSplitContainer.PanelBottom
  759. /// </summary>
  760. public PanelBottom S_PanelBottom => L_VSplitContainer.L_PanelBottom;
  761.  
  762. /// <summary>
  763. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.VSplitContainer"/>, 节点路径: TileSetEditorTerrain.VSplitContainer
  764. /// </summary>
  765. public VSplitContainer S_VSplitContainer => L_VSplitContainer;
  766.  
  767. /// <summary>
  768. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Sprite2D"/>, 节点路径: TileSetEditorTerrain.DragSprite
  769. /// </summary>
  770. public DragSprite S_DragSprite => L_DragSprite;
  771.  
  772. }