Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / ui / setting / Setting.cs
  1. namespace UI.Setting;
  2.  
  3. /// <summary>
  4. /// Ui代码, 该类是根据ui场景自动生成的, 请不要手动编辑该类, 以免造成代码丢失
  5. /// </summary>
  6. public abstract partial class Setting : UiBase
  7. {
  8. /// <summary>
  9. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: Setting.ColorRect
  10. /// </summary>
  11. public ColorRect L_ColorRect
  12. {
  13. get
  14. {
  15. if (_L_ColorRect == null) _L_ColorRect = new ColorRect((SettingPanel)this, GetNode<Godot.ColorRect>("ColorRect"));
  16. return _L_ColorRect;
  17. }
  18. }
  19. private ColorRect _L_ColorRect;
  20.  
  21. /// <summary>
  22. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: Setting.TextureRect
  23. /// </summary>
  24. public TextureRect L_TextureRect
  25. {
  26. get
  27. {
  28. if (_L_TextureRect == null) _L_TextureRect = new TextureRect((SettingPanel)this, GetNode<Godot.TextureRect>("TextureRect"));
  29. return _L_TextureRect;
  30. }
  31. }
  32. private TextureRect _L_TextureRect;
  33.  
  34. /// <summary>
  35. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: Setting.ScrollContainer
  36. /// </summary>
  37. public ScrollContainer L_ScrollContainer
  38. {
  39. get
  40. {
  41. if (_L_ScrollContainer == null) _L_ScrollContainer = new ScrollContainer((SettingPanel)this, GetNode<Godot.ScrollContainer>("ScrollContainer"));
  42. return _L_ScrollContainer;
  43. }
  44. }
  45. private ScrollContainer _L_ScrollContainer;
  46.  
  47.  
  48. public Setting() : base(nameof(Setting))
  49. {
  50. }
  51.  
  52. public sealed override void OnInitNestedUi()
  53. {
  54.  
  55. }
  56.  
  57. /// <summary>
  58. /// 类型: <see cref="Godot.ColorRect"/>, 路径: Setting.ColorRect
  59. /// </summary>
  60. public class ColorRect : UiNode<SettingPanel, Godot.ColorRect, ColorRect>
  61. {
  62. public ColorRect(SettingPanel uiPanel, Godot.ColorRect node) : base(uiPanel, node) { }
  63. public override ColorRect Clone() => new (UiPanel, (Godot.ColorRect)Instance.Duplicate());
  64. }
  65.  
  66. /// <summary>
  67. /// 类型: <see cref="Godot.TextureRect"/>, 路径: Setting.TextureRect
  68. /// </summary>
  69. public class TextureRect : UiNode<SettingPanel, Godot.TextureRect, TextureRect>
  70. {
  71. public TextureRect(SettingPanel uiPanel, Godot.TextureRect node) : base(uiPanel, node) { }
  72. public override TextureRect Clone() => new (UiPanel, (Godot.TextureRect)Instance.Duplicate());
  73. }
  74.  
  75. /// <summary>
  76. /// 类型: <see cref="Godot.Label"/>, 路径: Setting.ScrollContainer.SettingMenu.Title
  77. /// </summary>
  78. public class Title : UiNode<SettingPanel, Godot.Label, Title>
  79. {
  80. public Title(SettingPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  81. public override Title Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  82. }
  83.  
  84. /// <summary>
  85. /// 类型: <see cref="Godot.Label"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen.Name
  86. /// </summary>
  87. public class Name : UiNode<SettingPanel, Godot.Label, Name>
  88. {
  89. public Name(SettingPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  90. public override Name Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  91. }
  92.  
  93. /// <summary>
  94. /// 类型: <see cref="Godot.CheckBox"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen.CheckBox
  95. /// </summary>
  96. public class CheckBox : UiNode<SettingPanel, Godot.CheckBox, CheckBox>
  97. {
  98. public CheckBox(SettingPanel uiPanel, Godot.CheckBox node) : base(uiPanel, node) { }
  99. public override CheckBox Clone() => new (UiPanel, (Godot.CheckBox)Instance.Duplicate());
  100. }
  101.  
  102. /// <summary>
  103. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen
  104. /// </summary>
  105. public class FullScreen : UiNode<SettingPanel, Godot.HBoxContainer, FullScreen>
  106. {
  107. /// <summary>
  108. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: Setting.ScrollContainer.SettingMenu.Name
  109. /// </summary>
  110. public Name L_Name
  111. {
  112. get
  113. {
  114. if (_L_Name == null) _L_Name = new Name(UiPanel, Instance.GetNode<Godot.Label>("Name"));
  115. return _L_Name;
  116. }
  117. }
  118. private Name _L_Name;
  119.  
  120. /// <summary>
  121. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.CheckBox"/>, 节点路径: Setting.ScrollContainer.SettingMenu.CheckBox
  122. /// </summary>
  123. public CheckBox L_CheckBox
  124. {
  125. get
  126. {
  127. if (_L_CheckBox == null) _L_CheckBox = new CheckBox(UiPanel, Instance.GetNode<Godot.CheckBox>("CheckBox"));
  128. return _L_CheckBox;
  129. }
  130. }
  131. private CheckBox _L_CheckBox;
  132.  
  133. public FullScreen(SettingPanel uiPanel, Godot.HBoxContainer node) : base(uiPanel, node) { }
  134. public override FullScreen Clone() => new (UiPanel, (Godot.HBoxContainer)Instance.Duplicate());
  135. }
  136.  
  137. /// <summary>
  138. /// 类型: <see cref="Godot.Label"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen2.Label
  139. /// </summary>
  140. public class Label : UiNode<SettingPanel, Godot.Label, Label>
  141. {
  142. public Label(SettingPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  143. public override Label Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  144. }
  145.  
  146. /// <summary>
  147. /// 类型: <see cref="Godot.HSlider"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen2.BGM
  148. /// </summary>
  149. public class BGM : UiNode<SettingPanel, Godot.HSlider, BGM>
  150. {
  151. public BGM(SettingPanel uiPanel, Godot.HSlider node) : base(uiPanel, node) { }
  152. public override BGM Clone() => new (UiPanel, (Godot.HSlider)Instance.Duplicate());
  153. }
  154.  
  155. /// <summary>
  156. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen2
  157. /// </summary>
  158. public class FullScreen2 : UiNode<SettingPanel, Godot.HBoxContainer, FullScreen2>
  159. {
  160. /// <summary>
  161. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: Setting.ScrollContainer.SettingMenu.Label
  162. /// </summary>
  163. public Label L_Label
  164. {
  165. get
  166. {
  167. if (_L_Label == null) _L_Label = new Label(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  168. return _L_Label;
  169. }
  170. }
  171. private Label _L_Label;
  172.  
  173. /// <summary>
  174. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HSlider"/>, 节点路径: Setting.ScrollContainer.SettingMenu.BGM
  175. /// </summary>
  176. public BGM L_BGM
  177. {
  178. get
  179. {
  180. if (_L_BGM == null) _L_BGM = new BGM(UiPanel, Instance.GetNode<Godot.HSlider>("BGM"));
  181. return _L_BGM;
  182. }
  183. }
  184. private BGM _L_BGM;
  185.  
  186. public FullScreen2(SettingPanel uiPanel, Godot.HBoxContainer node) : base(uiPanel, node) { }
  187. public override FullScreen2 Clone() => new (UiPanel, (Godot.HBoxContainer)Instance.Duplicate());
  188. }
  189.  
  190. /// <summary>
  191. /// 类型: <see cref="Godot.Label"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen3.Label
  192. /// </summary>
  193. public class Label_1 : UiNode<SettingPanel, Godot.Label, Label_1>
  194. {
  195. public Label_1(SettingPanel uiPanel, Godot.Label node) : base(uiPanel, node) { }
  196. public override Label_1 Clone() => new (UiPanel, (Godot.Label)Instance.Duplicate());
  197. }
  198.  
  199. /// <summary>
  200. /// 类型: <see cref="Godot.HSlider"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen3.SFX
  201. /// </summary>
  202. public class SFX : UiNode<SettingPanel, Godot.HSlider, SFX>
  203. {
  204. public SFX(SettingPanel uiPanel, Godot.HSlider node) : base(uiPanel, node) { }
  205. public override SFX Clone() => new (UiPanel, (Godot.HSlider)Instance.Duplicate());
  206. }
  207.  
  208. /// <summary>
  209. /// 类型: <see cref="Godot.HBoxContainer"/>, 路径: Setting.ScrollContainer.SettingMenu.FullScreen3
  210. /// </summary>
  211. public class FullScreen3 : UiNode<SettingPanel, Godot.HBoxContainer, FullScreen3>
  212. {
  213. /// <summary>
  214. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: Setting.ScrollContainer.SettingMenu.Label
  215. /// </summary>
  216. public Label_1 L_Label
  217. {
  218. get
  219. {
  220. if (_L_Label == null) _L_Label = new Label_1(UiPanel, Instance.GetNode<Godot.Label>("Label"));
  221. return _L_Label;
  222. }
  223. }
  224. private Label_1 _L_Label;
  225.  
  226. /// <summary>
  227. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HSlider"/>, 节点路径: Setting.ScrollContainer.SettingMenu.SFX
  228. /// </summary>
  229. public SFX L_SFX
  230. {
  231. get
  232. {
  233. if (_L_SFX == null) _L_SFX = new SFX(UiPanel, Instance.GetNode<Godot.HSlider>("SFX"));
  234. return _L_SFX;
  235. }
  236. }
  237. private SFX _L_SFX;
  238.  
  239. public FullScreen3(SettingPanel uiPanel, Godot.HBoxContainer node) : base(uiPanel, node) { }
  240. public override FullScreen3 Clone() => new (UiPanel, (Godot.HBoxContainer)Instance.Duplicate());
  241. }
  242.  
  243. /// <summary>
  244. /// 类型: <see cref="Godot.Button"/>, 路径: Setting.ScrollContainer.SettingMenu.Back
  245. /// </summary>
  246. public class Back : UiNode<SettingPanel, Godot.Button, Back>
  247. {
  248. public Back(SettingPanel uiPanel, Godot.Button node) : base(uiPanel, node) { }
  249. public override Back Clone() => new (UiPanel, (Godot.Button)Instance.Duplicate());
  250. }
  251.  
  252. /// <summary>
  253. /// 类型: <see cref="Godot.VBoxContainer"/>, 路径: Setting.ScrollContainer.SettingMenu
  254. /// </summary>
  255. public class SettingMenu : UiNode<SettingPanel, Godot.VBoxContainer, SettingMenu>
  256. {
  257. /// <summary>
  258. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Label"/>, 节点路径: Setting.ScrollContainer.Title
  259. /// </summary>
  260. public Title L_Title
  261. {
  262. get
  263. {
  264. if (_L_Title == null) _L_Title = new Title(UiPanel, Instance.GetNode<Godot.Label>("Title"));
  265. return _L_Title;
  266. }
  267. }
  268. private Title _L_Title;
  269.  
  270. /// <summary>
  271. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: Setting.ScrollContainer.FullScreen
  272. /// </summary>
  273. public FullScreen L_FullScreen
  274. {
  275. get
  276. {
  277. if (_L_FullScreen == null) _L_FullScreen = new FullScreen(UiPanel, Instance.GetNode<Godot.HBoxContainer>("FullScreen"));
  278. return _L_FullScreen;
  279. }
  280. }
  281. private FullScreen _L_FullScreen;
  282.  
  283. /// <summary>
  284. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: Setting.ScrollContainer.FullScreen2
  285. /// </summary>
  286. public FullScreen2 L_FullScreen2
  287. {
  288. get
  289. {
  290. if (_L_FullScreen2 == null) _L_FullScreen2 = new FullScreen2(UiPanel, Instance.GetNode<Godot.HBoxContainer>("FullScreen2"));
  291. return _L_FullScreen2;
  292. }
  293. }
  294. private FullScreen2 _L_FullScreen2;
  295.  
  296. /// <summary>
  297. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: Setting.ScrollContainer.FullScreen3
  298. /// </summary>
  299. public FullScreen3 L_FullScreen3
  300. {
  301. get
  302. {
  303. if (_L_FullScreen3 == null) _L_FullScreen3 = new FullScreen3(UiPanel, Instance.GetNode<Godot.HBoxContainer>("FullScreen3"));
  304. return _L_FullScreen3;
  305. }
  306. }
  307. private FullScreen3 _L_FullScreen3;
  308.  
  309. /// <summary>
  310. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.Button"/>, 节点路径: Setting.ScrollContainer.Back
  311. /// </summary>
  312. public Back L_Back
  313. {
  314. get
  315. {
  316. if (_L_Back == null) _L_Back = new Back(UiPanel, Instance.GetNode<Godot.Button>("Back"));
  317. return _L_Back;
  318. }
  319. }
  320. private Back _L_Back;
  321.  
  322. public SettingMenu(SettingPanel uiPanel, Godot.VBoxContainer node) : base(uiPanel, node) { }
  323. public override SettingMenu Clone() => new (UiPanel, (Godot.VBoxContainer)Instance.Duplicate());
  324. }
  325.  
  326. /// <summary>
  327. /// 类型: <see cref="Godot.ScrollContainer"/>, 路径: Setting.ScrollContainer
  328. /// </summary>
  329. public class ScrollContainer : UiNode<SettingPanel, Godot.ScrollContainer, ScrollContainer>
  330. {
  331. /// <summary>
  332. /// 使用 Instance 属性获取当前节点实例对象, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: Setting.SettingMenu
  333. /// </summary>
  334. public SettingMenu L_SettingMenu
  335. {
  336. get
  337. {
  338. if (_L_SettingMenu == null) _L_SettingMenu = new SettingMenu(UiPanel, Instance.GetNode<Godot.VBoxContainer>("SettingMenu"));
  339. return _L_SettingMenu;
  340. }
  341. }
  342. private SettingMenu _L_SettingMenu;
  343.  
  344. public ScrollContainer(SettingPanel uiPanel, Godot.ScrollContainer node) : base(uiPanel, node) { }
  345. public override ScrollContainer Clone() => new (UiPanel, (Godot.ScrollContainer)Instance.Duplicate());
  346. }
  347.  
  348.  
  349. /// <summary>
  350. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ColorRect"/>, 节点路径: Setting.ColorRect
  351. /// </summary>
  352. public ColorRect S_ColorRect => L_ColorRect;
  353.  
  354. /// <summary>
  355. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.TextureRect"/>, 节点路径: Setting.TextureRect
  356. /// </summary>
  357. public TextureRect S_TextureRect => L_TextureRect;
  358.  
  359. /// <summary>
  360. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: Setting.ScrollContainer.SettingMenu.Title
  361. /// </summary>
  362. public Title S_Title => L_ScrollContainer.L_SettingMenu.L_Title;
  363.  
  364. /// <summary>
  365. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Label"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen.Name
  366. /// </summary>
  367. public Name S_Name => L_ScrollContainer.L_SettingMenu.L_FullScreen.L_Name;
  368.  
  369. /// <summary>
  370. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.CheckBox"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen.CheckBox
  371. /// </summary>
  372. public CheckBox S_CheckBox => L_ScrollContainer.L_SettingMenu.L_FullScreen.L_CheckBox;
  373.  
  374. /// <summary>
  375. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen
  376. /// </summary>
  377. public FullScreen S_FullScreen => L_ScrollContainer.L_SettingMenu.L_FullScreen;
  378.  
  379. /// <summary>
  380. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HSlider"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen2.BGM
  381. /// </summary>
  382. public BGM S_BGM => L_ScrollContainer.L_SettingMenu.L_FullScreen2.L_BGM;
  383.  
  384. /// <summary>
  385. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen2
  386. /// </summary>
  387. public FullScreen2 S_FullScreen2 => L_ScrollContainer.L_SettingMenu.L_FullScreen2;
  388.  
  389. /// <summary>
  390. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HSlider"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen3.SFX
  391. /// </summary>
  392. public SFX S_SFX => L_ScrollContainer.L_SettingMenu.L_FullScreen3.L_SFX;
  393.  
  394. /// <summary>
  395. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.HBoxContainer"/>, 节点路径: Setting.ScrollContainer.SettingMenu.FullScreen3
  396. /// </summary>
  397. public FullScreen3 S_FullScreen3 => L_ScrollContainer.L_SettingMenu.L_FullScreen3;
  398.  
  399. /// <summary>
  400. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.Button"/>, 节点路径: Setting.ScrollContainer.SettingMenu.Back
  401. /// </summary>
  402. public Back S_Back => L_ScrollContainer.L_SettingMenu.L_Back;
  403.  
  404. /// <summary>
  405. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.VBoxContainer"/>, 节点路径: Setting.ScrollContainer.SettingMenu
  406. /// </summary>
  407. public SettingMenu S_SettingMenu => L_ScrollContainer.L_SettingMenu;
  408.  
  409. /// <summary>
  410. /// 场景中唯一名称的节点, 节点类型: <see cref="Godot.ScrollContainer"/>, 节点路径: Setting.ScrollContainer
  411. /// </summary>
  412. public ScrollContainer S_ScrollContainer => L_ScrollContainer;
  413.  
  414. }