diff --git a/DungeonShooting_Godot/DungeonShooting.csproj.old b/DungeonShooting_Godot/DungeonShooting.csproj.old
deleted file mode 100644
index 8e15ac5..0000000
--- a/DungeonShooting_Godot/DungeonShooting.csproj.old
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- net6.0
- true
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DungeonShooting_Godot/DungeonShooting.csproj.old.1 b/DungeonShooting_Godot/DungeonShooting.csproj.old.1
deleted file mode 100644
index 4e093b1..0000000
--- a/DungeonShooting_Godot/DungeonShooting.csproj.old.1
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- net6.0
- true
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DungeonShooting_Godot/DungeonShooting.csproj.old.2 b/DungeonShooting_Godot/DungeonShooting.csproj.old.2
deleted file mode 100644
index f88bca0..0000000
--- a/DungeonShooting_Godot/DungeonShooting.csproj.old.2
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- net6.0
- true
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DungeonShooting_Godot/DungeonShooting.csproj.old.3 b/DungeonShooting_Godot/DungeonShooting.csproj.old.3
deleted file mode 100644
index 1c6b311..0000000
--- a/DungeonShooting_Godot/DungeonShooting.csproj.old.3
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- net6.0
- true
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DungeonShooting_Godot/DungeonShooting.csproj.old.4 b/DungeonShooting_Godot/DungeonShooting.csproj.old.4
deleted file mode 100644
index ef9302f..0000000
--- a/DungeonShooting_Godot/DungeonShooting.csproj.old.4
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- net6.0
- true
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DungeonShooting_Godot/DungeonShooting.csproj.old.5 b/DungeonShooting_Godot/DungeonShooting.csproj.old.5
deleted file mode 100644
index 4c62c1b..0000000
--- a/DungeonShooting_Godot/DungeonShooting.csproj.old.5
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- net6.0
- true
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001.png.import b/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001.png.import
index c36be94..b20c9a6 100644
--- a/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001.png.import
+++ b/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001.png.import
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://chd2vtesap5cf"
-path="res://.godot/imported/Enemy0001.png-148a38dfa95953b26d890356e8875de4.ctex"
+path="res://.godot/imported/enemy0001.png-1247a3ddf8a1a163d812cad12c4340fd.ctex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://resource/sprite/role/enemy0001/Enemy0001.png"
-dest_files=["res://.godot/imported/Enemy0001.png-148a38dfa95953b26d890356e8875de4.ctex"]
+source_file="res://resource/sprite/role/enemy0001/enemy0001.png"
+dest_files=["res://.godot/imported/enemy0001.png-1247a3ddf8a1a163d812cad12c4340fd.ctex"]
[params]
diff --git a/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001_Debris.png.import b/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001_Debris.png.import
index d563acf..56388a2 100644
--- a/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001_Debris.png.import
+++ b/DungeonShooting_Godot/resource/sprite/role/enemy0001/enemy0001_Debris.png.import
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://d2f55lu60x64i"
-path="res://.godot/imported/Enemy0001_Debris.png-ac416dc79cd3c1217b27e1ef1fbe0d0b.ctex"
+path="res://.godot/imported/enemy0001_Debris.png-297a2fb6680cb862a9a085cf58f8268c.ctex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://resource/sprite/role/enemy0001/Enemy0001_Debris.png"
-dest_files=["res://.godot/imported/Enemy0001_Debris.png-ac416dc79cd3c1217b27e1ef1fbe0d0b.ctex"]
+source_file="res://resource/sprite/role/enemy0001/enemy0001_Debris.png"
+dest_files=["res://.godot/imported/enemy0001_Debris.png-297a2fb6680cb862a9a085cf58f8268c.ctex"]
[params]
diff --git a/DungeonShooting_Godot/src/framework/generator/UiGenerator.cs b/DungeonShooting_Godot/src/framework/generator/UiGenerator.cs
index ed8f5f4..46889c6 100644
--- a/DungeonShooting_Godot/src/framework/generator/UiGenerator.cs
+++ b/DungeonShooting_Godot/src/framework/generator/UiGenerator.cs
@@ -118,6 +118,15 @@
var uiNode = EachNodeFromEditor(control.Name, control);
var code = GenerateClassCode(uiNode);
+
+ foreach (var pair in _nodeNameMap)
+ {
+ if (pair.Value > 1)
+ {
+ GD.Print($"检测到同名节点: '{pair.Key}', 使用该名称的节点将无法生成唯一节点属性!");
+ }
+ }
+
File.WriteAllText(path, code);
}
catch (Exception e)
@@ -145,7 +154,7 @@
$"\n" +
GenerateAllChildrenClassCode(uiNodeInfo.OriginName + ".", uiNodeInfo, " ") +
$"\n" +
- GenerateSoleLayerCode(uiNodeInfo, uiNodeInfo, "", uiNodeInfo.OriginName, " ") +
+ GenerateSoleLayerCode(uiNodeInfo, "", uiNodeInfo.OriginName, " ") +
$"}}\n";
}
@@ -209,7 +218,7 @@
retraction + $"private {uiNodeInfo.ClassName} _{uiNodeInfo.Name};\n\n";
}
- private static string GenerateSoleLayerCode(UiNodeInfo rootNode, UiNodeInfo uiNodeInfo, string layerName, string parent, string retraction)
+ private static string GenerateSoleLayerCode(UiNodeInfo uiNodeInfo, string layerName, string parent, string retraction)
{
var str = "";
if (uiNodeInfo.Children != null)
@@ -224,8 +233,8 @@
layer += nodeInfo.Name;
var path = parent + "." + nodeInfo.OriginName;
- str += GenerateSoleLayerCode(rootNode, nodeInfo, layer, path, retraction);
- if (IsSoleNameNode(rootNode, nodeInfo))
+ str += GenerateSoleLayerCode(nodeInfo, layer, path, retraction);
+ if (IsSoleNameNode(nodeInfo))
{
str += $"{retraction}/// \n";
str += $"{retraction}/// 场景中唯一名称的节点, 节点类型: , 节点路径: {path}\n";
@@ -238,25 +247,14 @@
}
//返回指定节点在当前场景中是否是唯一名称的节点
- private static bool IsSoleNameNode(UiNodeInfo parentNodeInfo, UiNodeInfo uiNodeInfo)
+ private static bool IsSoleNameNode(UiNodeInfo uiNodeInfo)
{
- if (parentNodeInfo.Children != null)
+ if (!_nodeNameMap.TryGetValue(uiNodeInfo.OriginName, out var count))
{
- foreach (var nodeInfo in parentNodeInfo.Children)
- {
- if (nodeInfo != uiNodeInfo && nodeInfo.OriginName == uiNodeInfo.OriginName)
- {
- return false;
- }
-
- if (!IsSoleNameNode(nodeInfo, uiNodeInfo))
- {
- return false;
- }
- }
+ return true;
}
- return true;
+ return count <= 1;
}
///
@@ -270,7 +268,7 @@
if (_nodeNameMap.ContainsKey(originName)) //有同名图层, 为了防止类名冲突, 需要在 UiNode 后面加上索引
{
var count = _nodeNameMap[originName];
- className = uiRootName + (count) + "_" + originName;
+ className = uiRootName + "_" + originName + "_" + count;
_nodeNameMap[originName] = count + 1;
}
else
diff --git a/DungeonShooting_Godot/src/game/ui/bottomTips/BottomTips.cs b/DungeonShooting_Godot/src/game/ui/bottomTips/BottomTips.cs
index f406a8c..c345195 100644
--- a/DungeonShooting_Godot/src/game/ui/bottomTips/BottomTips.cs
+++ b/DungeonShooting_Godot/src/game/ui/bottomTips/BottomTips.cs
@@ -8,15 +8,15 @@
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.Panel
///
- public UiNode_Panel L_Panel
+ public BottomTips_Panel L_Panel
{
get
{
- if (_L_Panel == null) _L_Panel = new UiNode_Panel(GetNodeOrNull("Panel"));
+ if (_L_Panel == null) _L_Panel = new BottomTips_Panel(GetNodeOrNull("Panel"));
return _L_Panel;
}
}
- private UiNode_Panel _L_Panel;
+ private BottomTips_Panel _L_Panel;
public BottomTips() : base(nameof(BottomTips))
@@ -26,142 +26,178 @@
///
/// 类型: , 路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.AspectRatioContainer.TextureRect
///
- public class UiNode_TextureRect : IUiNode
+ public class BottomTips_TextureRect : IUiNode
{
- public UiNode_TextureRect(Godot.TextureRect node) : base(node) { }
- public override UiNode_TextureRect Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public BottomTips_TextureRect(Godot.TextureRect node) : base(node) { }
+ public override BottomTips_TextureRect Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.AspectRatioContainer
///
- public class UiNode_AspectRatioContainer : IUiNode
+ public class BottomTips_AspectRatioContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.TextureRect
///
- public UiNode_TextureRect L_TextureRect
+ public BottomTips_TextureRect L_TextureRect
{
get
{
- if (_L_TextureRect == null) _L_TextureRect = new UiNode_TextureRect(Instance.GetNodeOrNull("TextureRect"));
+ if (_L_TextureRect == null) _L_TextureRect = new BottomTips_TextureRect(Instance.GetNodeOrNull("TextureRect"));
return _L_TextureRect;
}
}
- private UiNode_TextureRect _L_TextureRect;
+ private BottomTips_TextureRect _L_TextureRect;
- public UiNode_AspectRatioContainer(Godot.AspectRatioContainer node) : base(node) { }
- public override UiNode_AspectRatioContainer Clone() => new ((Godot.AspectRatioContainer)Instance.Duplicate());
+ public BottomTips_AspectRatioContainer(Godot.AspectRatioContainer node) : base(node) { }
+ public override BottomTips_AspectRatioContainer Clone() => new ((Godot.AspectRatioContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.Label
///
- public class UiNode_Label : IUiNode
+ public class BottomTips_Label : IUiNode
{
- public UiNode_Label(Godot.Label node) : base(node) { }
- public override UiNode_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public BottomTips_Label(Godot.Label node) : base(node) { }
+ public override BottomTips_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer
///
- public class UiNode_HBoxContainer : IUiNode
+ public class BottomTips_HBoxContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.AspectRatioContainer
///
- public UiNode_AspectRatioContainer L_AspectRatioContainer
+ public BottomTips_AspectRatioContainer L_AspectRatioContainer
{
get
{
- if (_L_AspectRatioContainer == null) _L_AspectRatioContainer = new UiNode_AspectRatioContainer(Instance.GetNodeOrNull("AspectRatioContainer"));
+ if (_L_AspectRatioContainer == null) _L_AspectRatioContainer = new BottomTips_AspectRatioContainer(Instance.GetNodeOrNull("AspectRatioContainer"));
return _L_AspectRatioContainer;
}
}
- private UiNode_AspectRatioContainer _L_AspectRatioContainer;
+ private BottomTips_AspectRatioContainer _L_AspectRatioContainer;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.Label
///
- public UiNode_Label L_Label
+ public BottomTips_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new BottomTips_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode_Label _L_Label;
+ private BottomTips_Label _L_Label;
- public UiNode_HBoxContainer(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public BottomTips_HBoxContainer(Godot.HBoxContainer node) : base(node) { }
+ public override BottomTips_HBoxContainer Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: BottomTips.Panel.MarginContainer.CenterContainer
///
- public class UiNode_CenterContainer : IUiNode
+ public class BottomTips_CenterContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.HBoxContainer
///
- public UiNode_HBoxContainer L_HBoxContainer
+ public BottomTips_HBoxContainer L_HBoxContainer
{
get
{
- if (_L_HBoxContainer == null) _L_HBoxContainer = new UiNode_HBoxContainer(Instance.GetNodeOrNull("HBoxContainer"));
+ if (_L_HBoxContainer == null) _L_HBoxContainer = new BottomTips_HBoxContainer(Instance.GetNodeOrNull("HBoxContainer"));
return _L_HBoxContainer;
}
}
- private UiNode_HBoxContainer _L_HBoxContainer;
+ private BottomTips_HBoxContainer _L_HBoxContainer;
- public UiNode_CenterContainer(Godot.CenterContainer node) : base(node) { }
- public override UiNode_CenterContainer Clone() => new ((Godot.CenterContainer)Instance.Duplicate());
+ public BottomTips_CenterContainer(Godot.CenterContainer node) : base(node) { }
+ public override BottomTips_CenterContainer Clone() => new ((Godot.CenterContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: BottomTips.Panel.MarginContainer
///
- public class UiNode_MarginContainer : IUiNode
+ public class BottomTips_MarginContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.Panel.CenterContainer
///
- public UiNode_CenterContainer L_CenterContainer
+ public BottomTips_CenterContainer L_CenterContainer
{
get
{
- if (_L_CenterContainer == null) _L_CenterContainer = new UiNode_CenterContainer(Instance.GetNodeOrNull("CenterContainer"));
+ if (_L_CenterContainer == null) _L_CenterContainer = new BottomTips_CenterContainer(Instance.GetNodeOrNull("CenterContainer"));
return _L_CenterContainer;
}
}
- private UiNode_CenterContainer _L_CenterContainer;
+ private BottomTips_CenterContainer _L_CenterContainer;
- public UiNode_MarginContainer(Godot.MarginContainer node) : base(node) { }
- public override UiNode_MarginContainer Clone() => new ((Godot.MarginContainer)Instance.Duplicate());
+ public BottomTips_MarginContainer(Godot.MarginContainer node) : base(node) { }
+ public override BottomTips_MarginContainer Clone() => new ((Godot.MarginContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: BottomTips.Panel
///
- public class UiNode_Panel : IUiNode
+ public class BottomTips_Panel : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: BottomTips.MarginContainer
///
- public UiNode_MarginContainer L_MarginContainer
+ public BottomTips_MarginContainer L_MarginContainer
{
get
{
- if (_L_MarginContainer == null) _L_MarginContainer = new UiNode_MarginContainer(Instance.GetNodeOrNull("MarginContainer"));
+ if (_L_MarginContainer == null) _L_MarginContainer = new BottomTips_MarginContainer(Instance.GetNodeOrNull("MarginContainer"));
return _L_MarginContainer;
}
}
- private UiNode_MarginContainer _L_MarginContainer;
+ private BottomTips_MarginContainer _L_MarginContainer;
- public UiNode_Panel(Godot.PanelContainer node) : base(node) { }
- public override UiNode_Panel Clone() => new ((Godot.PanelContainer)Instance.Duplicate());
+ public BottomTips_Panel(Godot.PanelContainer node) : base(node) { }
+ public override BottomTips_Panel Clone() => new ((Godot.PanelContainer)Instance.Duplicate());
}
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.AspectRatioContainer.TextureRect
+ ///
+ public BottomTips_TextureRect S_TextureRect => L_Panel.L_MarginContainer.L_CenterContainer.L_HBoxContainer.L_AspectRatioContainer.L_TextureRect;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.AspectRatioContainer
+ ///
+ public BottomTips_AspectRatioContainer S_AspectRatioContainer => L_Panel.L_MarginContainer.L_CenterContainer.L_HBoxContainer.L_AspectRatioContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer.Label
+ ///
+ public BottomTips_Label S_Label => L_Panel.L_MarginContainer.L_CenterContainer.L_HBoxContainer.L_Label;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer.HBoxContainer
+ ///
+ public BottomTips_HBoxContainer S_HBoxContainer => L_Panel.L_MarginContainer.L_CenterContainer.L_HBoxContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer.CenterContainer
+ ///
+ public BottomTips_CenterContainer S_CenterContainer => L_Panel.L_MarginContainer.L_CenterContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel.MarginContainer
+ ///
+ public BottomTips_MarginContainer S_MarginContainer => L_Panel.L_MarginContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: BottomTips.Panel
+ ///
+ public BottomTips_Panel S_Panel => L_Panel;
+
}
diff --git a/DungeonShooting_Godot/src/game/ui/editorTools/EditorTools.cs b/DungeonShooting_Godot/src/game/ui/editorTools/EditorTools.cs
index 99124ab..c385304 100644
--- a/DungeonShooting_Godot/src/game/ui/editorTools/EditorTools.cs
+++ b/DungeonShooting_Godot/src/game/ui/editorTools/EditorTools.cs
@@ -8,41 +8,41 @@
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer
///
- public UiNode_ScrollContainer L_ScrollContainer
+ public EditorTools_ScrollContainer L_ScrollContainer
{
get
{
- if (_L_ScrollContainer == null) _L_ScrollContainer = new UiNode_ScrollContainer(GetNodeOrNull("ScrollContainer"));
+ if (_L_ScrollContainer == null) _L_ScrollContainer = new EditorTools_ScrollContainer(GetNodeOrNull("ScrollContainer"));
return _L_ScrollContainer;
}
}
- private UiNode_ScrollContainer _L_ScrollContainer;
+ private EditorTools_ScrollContainer _L_ScrollContainer;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.Confirm
///
- public UiNode_Confirm L_Confirm
+ public EditorTools_Confirm L_Confirm
{
get
{
- if (_L_Confirm == null) _L_Confirm = new UiNode_Confirm(GetNodeOrNull("Confirm"));
+ if (_L_Confirm == null) _L_Confirm = new EditorTools_Confirm(GetNodeOrNull("Confirm"));
return _L_Confirm;
}
}
- private UiNode_Confirm _L_Confirm;
+ private EditorTools_Confirm _L_Confirm;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.Tips
///
- public UiNode_Tips L_Tips
+ public EditorTools_Tips L_Tips
{
get
{
- if (_L_Tips == null) _L_Tips = new UiNode_Tips(GetNodeOrNull("Tips"));
+ if (_L_Tips == null) _L_Tips = new EditorTools_Tips(GetNodeOrNull("Tips"));
return _L_Tips;
}
}
- private UiNode_Tips _L_Tips;
+ private EditorTools_Tips _L_Tips;
public EditorTools() : base(nameof(EditorTools))
@@ -52,666 +52,757 @@
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer.Label
///
- public class UiNode_Label : IUiNode
+ public class EditorTools_Label : IUiNode
{
- public UiNode_Label(Godot.Label node) : base(node) { }
- public override UiNode_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools_Label(Godot.Label node) : base(node) { }
+ public override EditorTools_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer.Button
///
- public class UiNode_Button : IUiNode
+ public class EditorTools_Button : IUiNode
{
- public UiNode_Button(Godot.Button node) : base(node) { }
- public override UiNode_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools_Button(Godot.Button node) : base(node) { }
+ public override EditorTools_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer
///
- public class UiNode_HBoxContainer : IUiNode
+ public class EditorTools_HBoxContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode_Label L_Label
+ public EditorTools_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode_Label _L_Label;
+ private EditorTools_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode_Button L_Button
+ public EditorTools_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode_Button _L_Button;
+ private EditorTools_Button _L_Button;
- public UiNode_HBoxContainer(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.Label
///
- public class UiNode1_Label : IUiNode
+ public class EditorTools1_Label : IUiNode
{
- public UiNode1_Label(Godot.Label node) : base(node) { }
- public override UiNode1_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools1_Label(Godot.Label node) : base(node) { }
+ public override EditorTools1_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.LineEdit
///
- public class UiNode_LineEdit : IUiNode
+ public class EditorTools_LineEdit : IUiNode
{
- public UiNode_LineEdit(Godot.LineEdit node) : base(node) { }
- public override UiNode_LineEdit Clone() => new ((Godot.LineEdit)Instance.Duplicate());
+ public EditorTools_LineEdit(Godot.LineEdit node) : base(node) { }
+ public override EditorTools_LineEdit Clone() => new ((Godot.LineEdit)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.Button
///
- public class UiNode1_Button : IUiNode
+ public class EditorTools1_Button : IUiNode
{
- public UiNode1_Button(Godot.Button node) : base(node) { }
- public override UiNode1_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools1_Button(Godot.Button node) : base(node) { }
+ public override EditorTools1_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3
///
- public class UiNode_HBoxContainer3 : IUiNode
+ public class EditorTools_HBoxContainer3 : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode1_Label L_Label
+ public EditorTools1_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode1_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools1_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode1_Label _L_Label;
+ private EditorTools1_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.LineEdit
///
- public UiNode_LineEdit L_LineEdit
+ public EditorTools_LineEdit L_LineEdit
{
get
{
- if (_L_LineEdit == null) _L_LineEdit = new UiNode_LineEdit(Instance.GetNodeOrNull("LineEdit"));
+ if (_L_LineEdit == null) _L_LineEdit = new EditorTools_LineEdit(Instance.GetNodeOrNull("LineEdit"));
return _L_LineEdit;
}
}
- private UiNode_LineEdit _L_LineEdit;
+ private EditorTools_LineEdit _L_LineEdit;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode1_Button L_Button
+ public EditorTools1_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode1_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools1_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode1_Button _L_Button;
+ private EditorTools1_Button _L_Button;
- public UiNode_HBoxContainer3(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer3 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer3(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer3 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer4.Label
///
- public class UiNode2_Label : IUiNode
+ public class EditorTools2_Label : IUiNode
{
- public UiNode2_Label(Godot.Label node) : base(node) { }
- public override UiNode2_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools2_Label(Godot.Label node) : base(node) { }
+ public override EditorTools2_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer4.Button
///
- public class UiNode2_Button : IUiNode
+ public class EditorTools2_Button : IUiNode
{
- public UiNode2_Button(Godot.Button node) : base(node) { }
- public override UiNode2_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools2_Button(Godot.Button node) : base(node) { }
+ public override EditorTools2_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer4
///
- public class UiNode_HBoxContainer4 : IUiNode
+ public class EditorTools_HBoxContainer4 : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode2_Label L_Label
+ public EditorTools2_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode2_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools2_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode2_Label _L_Label;
+ private EditorTools2_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode2_Button L_Button
+ public EditorTools2_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode2_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools2_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode2_Button _L_Button;
+ private EditorTools2_Button _L_Button;
- public UiNode_HBoxContainer4(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer4 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer4(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer4 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer5.Label
///
- public class UiNode3_Label : IUiNode
+ public class EditorTools3_Label : IUiNode
{
- public UiNode3_Label(Godot.Label node) : base(node) { }
- public override UiNode3_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools3_Label(Godot.Label node) : base(node) { }
+ public override EditorTools3_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer5.Button
///
- public class UiNode3_Button : IUiNode
+ public class EditorTools3_Button : IUiNode
{
- public UiNode3_Button(Godot.Button node) : base(node) { }
- public override UiNode3_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools3_Button(Godot.Button node) : base(node) { }
+ public override EditorTools3_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer5
///
- public class UiNode_HBoxContainer5 : IUiNode
+ public class EditorTools_HBoxContainer5 : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode3_Label L_Label
+ public EditorTools3_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode3_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools3_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode3_Label _L_Label;
+ private EditorTools3_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode3_Button L_Button
+ public EditorTools3_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode3_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools3_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode3_Button _L_Button;
+ private EditorTools3_Button _L_Button;
- public UiNode_HBoxContainer5(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer5 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer5(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer5 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.Label
///
- public class UiNode4_Label : IUiNode
+ public class EditorTools4_Label : IUiNode
{
- public UiNode4_Label(Godot.Label node) : base(node) { }
- public override UiNode4_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools4_Label(Godot.Label node) : base(node) { }
+ public override EditorTools4_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.RoomNameInput
///
- public class UiNode_RoomNameInput : IUiNode
+ public class EditorTools_RoomNameInput : IUiNode
{
- public UiNode_RoomNameInput(Godot.LineEdit node) : base(node) { }
- public override UiNode_RoomNameInput Clone() => new ((Godot.LineEdit)Instance.Duplicate());
+ public EditorTools_RoomNameInput(Godot.LineEdit node) : base(node) { }
+ public override EditorTools_RoomNameInput Clone() => new ((Godot.LineEdit)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.Label2
///
- public class UiNode_Label2 : IUiNode
+ public class EditorTools_Label2 : IUiNode
{
- public UiNode_Label2(Godot.Label node) : base(node) { }
- public override UiNode_Label2 Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools_Label2(Godot.Label node) : base(node) { }
+ public override EditorTools_Label2 Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.RoomGroupSelect
///
- public class UiNode_RoomGroupSelect : IUiNode
+ public class EditorTools_RoomGroupSelect : IUiNode
{
- public UiNode_RoomGroupSelect(Godot.OptionButton node) : base(node) { }
- public override UiNode_RoomGroupSelect Clone() => new ((Godot.OptionButton)Instance.Duplicate());
+ public EditorTools_RoomGroupSelect(Godot.OptionButton node) : base(node) { }
+ public override EditorTools_RoomGroupSelect Clone() => new ((Godot.OptionButton)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.Label3
///
- public class UiNode_Label3 : IUiNode
+ public class EditorTools_Label3 : IUiNode
{
- public UiNode_Label3(Godot.Label node) : base(node) { }
- public override UiNode_Label3 Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools_Label3(Godot.Label node) : base(node) { }
+ public override EditorTools_Label3 Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.RoomTypeSelect
///
- public class UiNode_RoomTypeSelect : IUiNode
+ public class EditorTools_RoomTypeSelect : IUiNode
{
- public UiNode_RoomTypeSelect(Godot.OptionButton node) : base(node) { }
- public override UiNode_RoomTypeSelect Clone() => new ((Godot.OptionButton)Instance.Duplicate());
+ public EditorTools_RoomTypeSelect(Godot.OptionButton node) : base(node) { }
+ public override EditorTools_RoomTypeSelect Clone() => new ((Godot.OptionButton)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.Button
///
- public class UiNode4_Button : IUiNode
+ public class EditorTools4_Button : IUiNode
{
- public UiNode4_Button(Godot.Button node) : base(node) { }
- public override UiNode4_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools4_Button(Godot.Button node) : base(node) { }
+ public override EditorTools4_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6
///
- public class UiNode_HBoxContainer6 : IUiNode
+ public class EditorTools_HBoxContainer6 : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode4_Label L_Label
+ public EditorTools4_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode4_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools4_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode4_Label _L_Label;
+ private EditorTools4_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.RoomNameInput
///
- public UiNode_RoomNameInput L_RoomNameInput
+ public EditorTools_RoomNameInput L_RoomNameInput
{
get
{
- if (_L_RoomNameInput == null) _L_RoomNameInput = new UiNode_RoomNameInput(Instance.GetNodeOrNull("RoomNameInput"));
+ if (_L_RoomNameInput == null) _L_RoomNameInput = new EditorTools_RoomNameInput(Instance.GetNodeOrNull("RoomNameInput"));
return _L_RoomNameInput;
}
}
- private UiNode_RoomNameInput _L_RoomNameInput;
+ private EditorTools_RoomNameInput _L_RoomNameInput;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label2
///
- public UiNode_Label2 L_Label2
+ public EditorTools_Label2 L_Label2
{
get
{
- if (_L_Label2 == null) _L_Label2 = new UiNode_Label2(Instance.GetNodeOrNull("Label2"));
+ if (_L_Label2 == null) _L_Label2 = new EditorTools_Label2(Instance.GetNodeOrNull("Label2"));
return _L_Label2;
}
}
- private UiNode_Label2 _L_Label2;
+ private EditorTools_Label2 _L_Label2;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.RoomGroupSelect
///
- public UiNode_RoomGroupSelect L_RoomGroupSelect
+ public EditorTools_RoomGroupSelect L_RoomGroupSelect
{
get
{
- if (_L_RoomGroupSelect == null) _L_RoomGroupSelect = new UiNode_RoomGroupSelect(Instance.GetNodeOrNull("RoomGroupSelect"));
+ if (_L_RoomGroupSelect == null) _L_RoomGroupSelect = new EditorTools_RoomGroupSelect(Instance.GetNodeOrNull("RoomGroupSelect"));
return _L_RoomGroupSelect;
}
}
- private UiNode_RoomGroupSelect _L_RoomGroupSelect;
+ private EditorTools_RoomGroupSelect _L_RoomGroupSelect;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label3
///
- public UiNode_Label3 L_Label3
+ public EditorTools_Label3 L_Label3
{
get
{
- if (_L_Label3 == null) _L_Label3 = new UiNode_Label3(Instance.GetNodeOrNull("Label3"));
+ if (_L_Label3 == null) _L_Label3 = new EditorTools_Label3(Instance.GetNodeOrNull("Label3"));
return _L_Label3;
}
}
- private UiNode_Label3 _L_Label3;
+ private EditorTools_Label3 _L_Label3;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.RoomTypeSelect
///
- public UiNode_RoomTypeSelect L_RoomTypeSelect
+ public EditorTools_RoomTypeSelect L_RoomTypeSelect
{
get
{
- if (_L_RoomTypeSelect == null) _L_RoomTypeSelect = new UiNode_RoomTypeSelect(Instance.GetNodeOrNull("RoomTypeSelect"));
+ if (_L_RoomTypeSelect == null) _L_RoomTypeSelect = new EditorTools_RoomTypeSelect(Instance.GetNodeOrNull("RoomTypeSelect"));
return _L_RoomTypeSelect;
}
}
- private UiNode_RoomTypeSelect _L_RoomTypeSelect;
+ private EditorTools_RoomTypeSelect _L_RoomTypeSelect;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode4_Button L_Button
+ public EditorTools4_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode4_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools4_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode4_Button _L_Button;
+ private EditorTools4_Button _L_Button;
- public UiNode_HBoxContainer6(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer6 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer6(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer6 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2.Label
///
- public class UiNode5_Label : IUiNode
+ public class EditorTools5_Label : IUiNode
{
- public UiNode5_Label(Godot.Label node) : base(node) { }
- public override UiNode5_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools5_Label(Godot.Label node) : base(node) { }
+ public override EditorTools5_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2.Button
///
- public class UiNode5_Button : IUiNode
+ public class EditorTools5_Button : IUiNode
{
- public UiNode5_Button(Godot.Button node) : base(node) { }
- public override UiNode5_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools5_Button(Godot.Button node) : base(node) { }
+ public override EditorTools5_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2
///
- public class UiNode_HBoxContainer2 : IUiNode
+ public class EditorTools_HBoxContainer2 : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode5_Label L_Label
+ public EditorTools5_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode5_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools5_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode5_Label _L_Label;
+ private EditorTools5_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode5_Button L_Button
+ public EditorTools5_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode5_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools5_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode5_Button _L_Button;
+ private EditorTools5_Button _L_Button;
- public UiNode_HBoxContainer2(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer2 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer2(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer2 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer7.Label
///
- public class UiNode6_Label : IUiNode
+ public class EditorTools6_Label : IUiNode
{
- public UiNode6_Label(Godot.Label node) : base(node) { }
- public override UiNode6_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public EditorTools6_Label(Godot.Label node) : base(node) { }
+ public override EditorTools6_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer7.Button
///
- public class UiNode6_Button : IUiNode
+ public class EditorTools6_Button : IUiNode
{
- public UiNode6_Button(Godot.Button node) : base(node) { }
- public override UiNode6_Button Clone() => new ((Godot.Button)Instance.Duplicate());
+ public EditorTools6_Button(Godot.Button node) : base(node) { }
+ public override EditorTools6_Button Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer7
///
- public class UiNode_HBoxContainer7 : IUiNode
+ public class EditorTools_HBoxContainer7 : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Label
///
- public UiNode6_Label L_Label
+ public EditorTools6_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode6_Label(Instance.GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new EditorTools6_Label(Instance.GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode6_Label _L_Label;
+ private EditorTools6_Label _L_Label;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.Button
///
- public UiNode6_Button L_Button
+ public EditorTools6_Button L_Button
{
get
{
- if (_L_Button == null) _L_Button = new UiNode6_Button(Instance.GetNodeOrNull("Button"));
+ if (_L_Button == null) _L_Button = new EditorTools6_Button(Instance.GetNodeOrNull("Button"));
return _L_Button;
}
}
- private UiNode6_Button _L_Button;
+ private EditorTools6_Button _L_Button;
- public UiNode_HBoxContainer7(Godot.HBoxContainer node) : base(node) { }
- public override UiNode_HBoxContainer7 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
+ public EditorTools_HBoxContainer7(Godot.HBoxContainer node) : base(node) { }
+ public override EditorTools_HBoxContainer7 Clone() => new ((Godot.HBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer
///
- public class UiNode_VBoxContainer : IUiNode
+ public class EditorTools_VBoxContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer
///
- public UiNode_HBoxContainer L_HBoxContainer
+ public EditorTools_HBoxContainer L_HBoxContainer
{
get
{
- if (_L_HBoxContainer == null) _L_HBoxContainer = new UiNode_HBoxContainer(Instance.GetNodeOrNull("HBoxContainer"));
+ if (_L_HBoxContainer == null) _L_HBoxContainer = new EditorTools_HBoxContainer(Instance.GetNodeOrNull("HBoxContainer"));
return _L_HBoxContainer;
}
}
- private UiNode_HBoxContainer _L_HBoxContainer;
+ private EditorTools_HBoxContainer _L_HBoxContainer;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer3
///
- public UiNode_HBoxContainer3 L_HBoxContainer3
+ public EditorTools_HBoxContainer3 L_HBoxContainer3
{
get
{
- if (_L_HBoxContainer3 == null) _L_HBoxContainer3 = new UiNode_HBoxContainer3(Instance.GetNodeOrNull("HBoxContainer3"));
+ if (_L_HBoxContainer3 == null) _L_HBoxContainer3 = new EditorTools_HBoxContainer3(Instance.GetNodeOrNull("HBoxContainer3"));
return _L_HBoxContainer3;
}
}
- private UiNode_HBoxContainer3 _L_HBoxContainer3;
+ private EditorTools_HBoxContainer3 _L_HBoxContainer3;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer4
///
- public UiNode_HBoxContainer4 L_HBoxContainer4
+ public EditorTools_HBoxContainer4 L_HBoxContainer4
{
get
{
- if (_L_HBoxContainer4 == null) _L_HBoxContainer4 = new UiNode_HBoxContainer4(Instance.GetNodeOrNull("HBoxContainer4"));
+ if (_L_HBoxContainer4 == null) _L_HBoxContainer4 = new EditorTools_HBoxContainer4(Instance.GetNodeOrNull("HBoxContainer4"));
return _L_HBoxContainer4;
}
}
- private UiNode_HBoxContainer4 _L_HBoxContainer4;
+ private EditorTools_HBoxContainer4 _L_HBoxContainer4;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer5
///
- public UiNode_HBoxContainer5 L_HBoxContainer5
+ public EditorTools_HBoxContainer5 L_HBoxContainer5
{
get
{
- if (_L_HBoxContainer5 == null) _L_HBoxContainer5 = new UiNode_HBoxContainer5(Instance.GetNodeOrNull("HBoxContainer5"));
+ if (_L_HBoxContainer5 == null) _L_HBoxContainer5 = new EditorTools_HBoxContainer5(Instance.GetNodeOrNull("HBoxContainer5"));
return _L_HBoxContainer5;
}
}
- private UiNode_HBoxContainer5 _L_HBoxContainer5;
+ private EditorTools_HBoxContainer5 _L_HBoxContainer5;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer6
///
- public UiNode_HBoxContainer6 L_HBoxContainer6
+ public EditorTools_HBoxContainer6 L_HBoxContainer6
{
get
{
- if (_L_HBoxContainer6 == null) _L_HBoxContainer6 = new UiNode_HBoxContainer6(Instance.GetNodeOrNull("HBoxContainer6"));
+ if (_L_HBoxContainer6 == null) _L_HBoxContainer6 = new EditorTools_HBoxContainer6(Instance.GetNodeOrNull("HBoxContainer6"));
return _L_HBoxContainer6;
}
}
- private UiNode_HBoxContainer6 _L_HBoxContainer6;
+ private EditorTools_HBoxContainer6 _L_HBoxContainer6;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer2
///
- public UiNode_HBoxContainer2 L_HBoxContainer2
+ public EditorTools_HBoxContainer2 L_HBoxContainer2
{
get
{
- if (_L_HBoxContainer2 == null) _L_HBoxContainer2 = new UiNode_HBoxContainer2(Instance.GetNodeOrNull("HBoxContainer2"));
+ if (_L_HBoxContainer2 == null) _L_HBoxContainer2 = new EditorTools_HBoxContainer2(Instance.GetNodeOrNull("HBoxContainer2"));
return _L_HBoxContainer2;
}
}
- private UiNode_HBoxContainer2 _L_HBoxContainer2;
+ private EditorTools_HBoxContainer2 _L_HBoxContainer2;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.HBoxContainer7
///
- public UiNode_HBoxContainer7 L_HBoxContainer7
+ public EditorTools_HBoxContainer7 L_HBoxContainer7
{
get
{
- if (_L_HBoxContainer7 == null) _L_HBoxContainer7 = new UiNode_HBoxContainer7(Instance.GetNodeOrNull("HBoxContainer7"));
+ if (_L_HBoxContainer7 == null) _L_HBoxContainer7 = new EditorTools_HBoxContainer7(Instance.GetNodeOrNull("HBoxContainer7"));
return _L_HBoxContainer7;
}
}
- private UiNode_HBoxContainer7 _L_HBoxContainer7;
+ private EditorTools_HBoxContainer7 _L_HBoxContainer7;
- public UiNode_VBoxContainer(Godot.VBoxContainer node) : base(node) { }
- public override UiNode_VBoxContainer Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
+ public EditorTools_VBoxContainer(Godot.VBoxContainer node) : base(node) { }
+ public override EditorTools_VBoxContainer Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer.MarginContainer
///
- public class UiNode_MarginContainer : IUiNode
+ public class EditorTools_MarginContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.ScrollContainer.VBoxContainer
///
- public UiNode_VBoxContainer L_VBoxContainer
+ public EditorTools_VBoxContainer L_VBoxContainer
{
get
{
- if (_L_VBoxContainer == null) _L_VBoxContainer = new UiNode_VBoxContainer(Instance.GetNodeOrNull("VBoxContainer"));
+ if (_L_VBoxContainer == null) _L_VBoxContainer = new EditorTools_VBoxContainer(Instance.GetNodeOrNull("VBoxContainer"));
return _L_VBoxContainer;
}
}
- private UiNode_VBoxContainer _L_VBoxContainer;
+ private EditorTools_VBoxContainer _L_VBoxContainer;
- public UiNode_MarginContainer(Godot.MarginContainer node) : base(node) { }
- public override UiNode_MarginContainer Clone() => new ((Godot.MarginContainer)Instance.Duplicate());
+ public EditorTools_MarginContainer(Godot.MarginContainer node) : base(node) { }
+ public override EditorTools_MarginContainer Clone() => new ((Godot.MarginContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.ScrollContainer
///
- public class UiNode_ScrollContainer : IUiNode
+ public class EditorTools_ScrollContainer : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: EditorTools.MarginContainer
///
- public UiNode_MarginContainer L_MarginContainer
+ public EditorTools_MarginContainer L_MarginContainer
{
get
{
- if (_L_MarginContainer == null) _L_MarginContainer = new UiNode_MarginContainer(Instance.GetNodeOrNull("MarginContainer"));
+ if (_L_MarginContainer == null) _L_MarginContainer = new EditorTools_MarginContainer(Instance.GetNodeOrNull("MarginContainer"));
return _L_MarginContainer;
}
}
- private UiNode_MarginContainer _L_MarginContainer;
+ private EditorTools_MarginContainer _L_MarginContainer;
- public UiNode_ScrollContainer(Godot.ScrollContainer node) : base(node) { }
- public override UiNode_ScrollContainer Clone() => new ((Godot.ScrollContainer)Instance.Duplicate());
+ public EditorTools_ScrollContainer(Godot.ScrollContainer node) : base(node) { }
+ public override EditorTools_ScrollContainer Clone() => new ((Godot.ScrollContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.Confirm
///
- public class UiNode_Confirm : IUiNode
+ public class EditorTools_Confirm : IUiNode
{
- public UiNode_Confirm(Godot.ConfirmationDialog node) : base(node) { }
- public override UiNode_Confirm Clone() => new ((Godot.ConfirmationDialog)Instance.Duplicate());
+ public EditorTools_Confirm(Godot.ConfirmationDialog node) : base(node) { }
+ public override EditorTools_Confirm Clone() => new ((Godot.ConfirmationDialog)Instance.Duplicate());
}
///
/// 类型: , 路径: EditorTools.Tips
///
- public class UiNode_Tips : IUiNode
+ public class EditorTools_Tips : IUiNode
{
- public UiNode_Tips(Godot.AcceptDialog node) : base(node) { }
- public override UiNode_Tips Clone() => new ((Godot.AcceptDialog)Instance.Duplicate());
+ public EditorTools_Tips(Godot.AcceptDialog node) : base(node) { }
+ public override EditorTools_Tips Clone() => new ((Godot.AcceptDialog)Instance.Duplicate());
}
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer
+ ///
+ public EditorTools_HBoxContainer S_HBoxContainer => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3.LineEdit
+ ///
+ public EditorTools_LineEdit S_LineEdit => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer3.L_LineEdit;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer3
+ ///
+ public EditorTools_HBoxContainer3 S_HBoxContainer3 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer3;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer4
+ ///
+ public EditorTools_HBoxContainer4 S_HBoxContainer4 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer4;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer5
+ ///
+ public EditorTools_HBoxContainer5 S_HBoxContainer5 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer5;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.RoomNameInput
+ ///
+ public EditorTools_RoomNameInput S_RoomNameInput => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer6.L_RoomNameInput;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.Label2
+ ///
+ public EditorTools_Label2 S_Label2 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer6.L_Label2;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.RoomGroupSelect
+ ///
+ public EditorTools_RoomGroupSelect S_RoomGroupSelect => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer6.L_RoomGroupSelect;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.Label3
+ ///
+ public EditorTools_Label3 S_Label3 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer6.L_Label3;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6.RoomTypeSelect
+ ///
+ public EditorTools_RoomTypeSelect S_RoomTypeSelect => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer6.L_RoomTypeSelect;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer6
+ ///
+ public EditorTools_HBoxContainer6 S_HBoxContainer6 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer6;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer2
+ ///
+ public EditorTools_HBoxContainer2 S_HBoxContainer2 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer2;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer.HBoxContainer7
+ ///
+ public EditorTools_HBoxContainer7 S_HBoxContainer7 => L_ScrollContainer.L_MarginContainer.L_VBoxContainer.L_HBoxContainer7;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer.VBoxContainer
+ ///
+ public EditorTools_VBoxContainer S_VBoxContainer => L_ScrollContainer.L_MarginContainer.L_VBoxContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer.MarginContainer
+ ///
+ public EditorTools_MarginContainer S_MarginContainer => L_ScrollContainer.L_MarginContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.ScrollContainer
+ ///
+ public EditorTools_ScrollContainer S_ScrollContainer => L_ScrollContainer;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.Confirm
+ ///
+ public EditorTools_Confirm S_Confirm => L_Confirm;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: EditorTools.Tips
+ ///
+ public EditorTools_Tips S_Tips => L_Tips;
+
}
diff --git a/DungeonShooting_Godot/src/game/ui/loading/Loading.cs b/DungeonShooting_Godot/src/game/ui/loading/Loading.cs
index 22bfc38..b061156 100644
--- a/DungeonShooting_Godot/src/game/ui/loading/Loading.cs
+++ b/DungeonShooting_Godot/src/game/ui/loading/Loading.cs
@@ -8,28 +8,28 @@
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Loading.ColorRect
///
- public UiNode_ColorRect L_ColorRect
+ public Loading_ColorRect L_ColorRect
{
get
{
- if (_L_ColorRect == null) _L_ColorRect = new UiNode_ColorRect(GetNodeOrNull("ColorRect"));
+ if (_L_ColorRect == null) _L_ColorRect = new Loading_ColorRect(GetNodeOrNull("ColorRect"));
return _L_ColorRect;
}
}
- private UiNode_ColorRect _L_ColorRect;
+ private Loading_ColorRect _L_ColorRect;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Loading.Label
///
- public UiNode_Label L_Label
+ public Loading_Label L_Label
{
get
{
- if (_L_Label == null) _L_Label = new UiNode_Label(GetNodeOrNull("Label"));
+ if (_L_Label == null) _L_Label = new Loading_Label(GetNodeOrNull("Label"));
return _L_Label;
}
}
- private UiNode_Label _L_Label;
+ private Loading_Label _L_Label;
public Loading() : base(nameof(Loading))
@@ -39,19 +39,30 @@
///
/// 类型: , 路径: Loading.ColorRect
///
- public class UiNode_ColorRect : IUiNode
+ public class Loading_ColorRect : IUiNode
{
- public UiNode_ColorRect(Godot.ColorRect node) : base(node) { }
- public override UiNode_ColorRect Clone() => new ((Godot.ColorRect)Instance.Duplicate());
+ public Loading_ColorRect(Godot.ColorRect node) : base(node) { }
+ public override Loading_ColorRect Clone() => new ((Godot.ColorRect)Instance.Duplicate());
}
///
/// 类型: , 路径: Loading.Label
///
- public class UiNode_Label : IUiNode
+ public class Loading_Label : IUiNode
{
- public UiNode_Label(Godot.Label node) : base(node) { }
- public override UiNode_Label Clone() => new ((Godot.Label)Instance.Duplicate());
+ public Loading_Label(Godot.Label node) : base(node) { }
+ public override Loading_Label Clone() => new ((Godot.Label)Instance.Duplicate());
}
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Loading.ColorRect
+ ///
+ public Loading_ColorRect S_ColorRect => L_ColorRect;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Loading.Label
+ ///
+ public Loading_Label S_Label => L_Label;
+
}
diff --git a/DungeonShooting_Godot/src/game/ui/main/Main.cs b/DungeonShooting_Godot/src/game/ui/main/Main.cs
index bb101d7..d0f4d98 100644
--- a/DungeonShooting_Godot/src/game/ui/main/Main.cs
+++ b/DungeonShooting_Godot/src/game/ui/main/Main.cs
@@ -8,41 +8,41 @@
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.Title
///
- public UiNode_Title L_Title
+ public Main_Title L_Title
{
get
{
- if (_L_Title == null) _L_Title = new UiNode_Title(GetNodeOrNull("Title"));
+ if (_L_Title == null) _L_Title = new Main_Title(GetNodeOrNull("Title"));
return _L_Title;
}
}
- private UiNode_Title _L_Title;
+ private Main_Title _L_Title;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.ButtonList
///
- public UiNode_ButtonList L_ButtonList
+ public Main_ButtonList L_ButtonList
{
get
{
- if (_L_ButtonList == null) _L_ButtonList = new UiNode_ButtonList(GetNodeOrNull("ButtonList"));
+ if (_L_ButtonList == null) _L_ButtonList = new Main_ButtonList(GetNodeOrNull("ButtonList"));
return _L_ButtonList;
}
}
- private UiNode_ButtonList _L_ButtonList;
+ private Main_ButtonList _L_ButtonList;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.Version
///
- public UiNode_Version L_Version
+ public Main_Version L_Version
{
get
{
- if (_L_Version == null) _L_Version = new UiNode_Version(GetNodeOrNull("Version"));
+ if (_L_Version == null) _L_Version = new Main_Version(GetNodeOrNull("Version"));
return _L_Version;
}
}
- private UiNode_Version _L_Version;
+ private Main_Version _L_Version;
public Main() : base(nameof(Main))
@@ -52,152 +52,152 @@
///
/// 类型: , 路径: Main.Title
///
- public class UiNode_Title : IUiNode
+ public class Main_Title : IUiNode
{
- public UiNode_Title(Godot.Label node) : base(node) { }
- public override UiNode_Title Clone() => new ((Godot.Label)Instance.Duplicate());
+ public Main_Title(Godot.Label node) : base(node) { }
+ public override Main_Title Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: Main.ButtonList.Start
///
- public class UiNode_Start : IUiNode
+ public class Main_Start : IUiNode
{
- public UiNode_Start(Godot.Button node) : base(node) { }
- public override UiNode_Start Clone() => new ((Godot.Button)Instance.Duplicate());
+ public Main_Start(Godot.Button node) : base(node) { }
+ public override Main_Start Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: Main.ButtonList.Tools
///
- public class UiNode_Tools : IUiNode
+ public class Main_Tools : IUiNode
{
- public UiNode_Tools(Godot.Button node) : base(node) { }
- public override UiNode_Tools Clone() => new ((Godot.Button)Instance.Duplicate());
+ public Main_Tools(Godot.Button node) : base(node) { }
+ public override Main_Tools Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: Main.ButtonList.Setting
///
- public class UiNode_Setting : IUiNode
+ public class Main_Setting : IUiNode
{
- public UiNode_Setting(Godot.Button node) : base(node) { }
- public override UiNode_Setting Clone() => new ((Godot.Button)Instance.Duplicate());
+ public Main_Setting(Godot.Button node) : base(node) { }
+ public override Main_Setting Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: Main.ButtonList.Exit
///
- public class UiNode_Exit : IUiNode
+ public class Main_Exit : IUiNode
{
- public UiNode_Exit(Godot.Button node) : base(node) { }
- public override UiNode_Exit Clone() => new ((Godot.Button)Instance.Duplicate());
+ public Main_Exit(Godot.Button node) : base(node) { }
+ public override Main_Exit Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: Main.ButtonList
///
- public class UiNode_ButtonList : IUiNode
+ public class Main_ButtonList : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.Start
///
- public UiNode_Start L_Start
+ public Main_Start L_Start
{
get
{
- if (_L_Start == null) _L_Start = new UiNode_Start(Instance.GetNodeOrNull("Start"));
+ if (_L_Start == null) _L_Start = new Main_Start(Instance.GetNodeOrNull("Start"));
return _L_Start;
}
}
- private UiNode_Start _L_Start;
+ private Main_Start _L_Start;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.Tools
///
- public UiNode_Tools L_Tools
+ public Main_Tools L_Tools
{
get
{
- if (_L_Tools == null) _L_Tools = new UiNode_Tools(Instance.GetNodeOrNull("Tools"));
+ if (_L_Tools == null) _L_Tools = new Main_Tools(Instance.GetNodeOrNull("Tools"));
return _L_Tools;
}
}
- private UiNode_Tools _L_Tools;
+ private Main_Tools _L_Tools;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.Setting
///
- public UiNode_Setting L_Setting
+ public Main_Setting L_Setting
{
get
{
- if (_L_Setting == null) _L_Setting = new UiNode_Setting(Instance.GetNodeOrNull("Setting"));
+ if (_L_Setting == null) _L_Setting = new Main_Setting(Instance.GetNodeOrNull("Setting"));
return _L_Setting;
}
}
- private UiNode_Setting _L_Setting;
+ private Main_Setting _L_Setting;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Main.Exit
///
- public UiNode_Exit L_Exit
+ public Main_Exit L_Exit
{
get
{
- if (_L_Exit == null) _L_Exit = new UiNode_Exit(Instance.GetNodeOrNull("Exit"));
+ if (_L_Exit == null) _L_Exit = new Main_Exit(Instance.GetNodeOrNull("Exit"));
return _L_Exit;
}
}
- private UiNode_Exit _L_Exit;
+ private Main_Exit _L_Exit;
- public UiNode_ButtonList(Godot.VBoxContainer node) : base(node) { }
- public override UiNode_ButtonList Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
+ public Main_ButtonList(Godot.VBoxContainer node) : base(node) { }
+ public override Main_ButtonList Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
}
///
/// 类型: , 路径: Main.Version
///
- public class UiNode_Version : IUiNode
+ public class Main_Version : IUiNode
{
- public UiNode_Version(Godot.Label node) : base(node) { }
- public override UiNode_Version Clone() => new ((Godot.Label)Instance.Duplicate());
+ public Main_Version(Godot.Label node) : base(node) { }
+ public override Main_Version Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.Title
///
- public UiNode_Title S_Title => L_Title;
+ public Main_Title S_Title => L_Title;
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.ButtonList.Start
///
- public UiNode_Start S_Start => L_ButtonList.L_Start;
+ public Main_Start S_Start => L_ButtonList.L_Start;
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.ButtonList.Tools
///
- public UiNode_Tools S_Tools => L_ButtonList.L_Tools;
+ public Main_Tools S_Tools => L_ButtonList.L_Tools;
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.ButtonList.Setting
///
- public UiNode_Setting S_Setting => L_ButtonList.L_Setting;
+ public Main_Setting S_Setting => L_ButtonList.L_Setting;
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.ButtonList.Exit
///
- public UiNode_Exit S_Exit => L_ButtonList.L_Exit;
+ public Main_Exit S_Exit => L_ButtonList.L_Exit;
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.ButtonList
///
- public UiNode_ButtonList S_ButtonList => L_ButtonList;
+ public Main_ButtonList S_ButtonList => L_ButtonList;
///
/// 场景中唯一名称的节点, 节点类型: , 节点路径: Main.Version
///
- public UiNode_Version S_Version => L_Version;
+ public Main_Version S_Version => L_Version;
}
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/ActivePropBar.cs b/DungeonShooting_Godot/src/game/ui/roomUI/ActivePropBar.cs
index c037150..e56f99c 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/ActivePropBar.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/ActivePropBar.cs
@@ -4,7 +4,7 @@
public class ActivePropBar
{
- private RoomUI.UiNode_ActivePropBar _activePropBar;
+ private RoomUI.RoomUI_ActivePropBar _activePropBar;
private ShaderMaterial _shaderMaterial;
private Vector2 _startCooldownPos;
private Vector2 _startCooldownSize;
@@ -13,7 +13,7 @@
private bool _initCooldown = false;
- public ActivePropBar(RoomUI.UiNode_ActivePropBar activePropBar)
+ public ActivePropBar(RoomUI.RoomUI_ActivePropBar activePropBar)
{
_activePropBar = activePropBar;
_shaderMaterial = (ShaderMaterial)_activePropBar.L_ActivePropSprite.Instance.Material;
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/InteractiveTipBar.cs b/DungeonShooting_Godot/src/game/ui/roomUI/InteractiveTipBar.cs
index 0779db9..85eb7da 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/InteractiveTipBar.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/InteractiveTipBar.cs
@@ -7,11 +7,11 @@
///
public class InteractiveTipBar
{
- private RoomUI.UiNode_InteractiveTipBar _interactiveTipBar;
+ private RoomUI.RoomUI_InteractiveTipBar _interactiveTipBar;
private EventBinder _binder;
private ActivityObject _interactiveTarget;
- public InteractiveTipBar(RoomUI.UiNode_InteractiveTipBar interactiveTipBar)
+ public InteractiveTipBar(RoomUI.RoomUI_InteractiveTipBar interactiveTipBar)
{
interactiveTipBar.Instance.Visible = false;
_interactiveTipBar = interactiveTipBar;
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/LifeBar.cs b/DungeonShooting_Godot/src/game/ui/roomUI/LifeBar.cs
index 69b5190..9dce625 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/LifeBar.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/LifeBar.cs
@@ -6,17 +6,17 @@
public class LifeBar
{
- private RoomUI.UiNode_LifeBar _bar;
- private UiGrid _grid;
+ private RoomUI.RoomUI_LifeBar _bar;
+ private UiGrid _grid;
private EventFactory _eventFactory;
private bool _refreshFlag = false;
- public LifeBar(RoomUI.UiNode_LifeBar lifeBar)
+ public LifeBar(RoomUI.RoomUI_LifeBar lifeBar)
{
_bar = lifeBar;
var uiNodeLife = lifeBar.L_Life;
- _grid = new UiGrid(uiNodeLife, typeof(LifeCell), 20, 1, 2);
+ _grid = new UiGrid(uiNodeLife, typeof(LifeCell), 20, 1, 2);
}
public void OnShow()
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/LifeCell.cs b/DungeonShooting_Godot/src/game/ui/roomUI/LifeCell.cs
index 821c5f8..e9ca4b9 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/LifeCell.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/LifeCell.cs
@@ -2,7 +2,7 @@
namespace UI.RoomUI;
-public class LifeCell : UiCell
+public class LifeCell : UiCell
{
private int _type = -1;
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/ReloadBar.cs b/DungeonShooting_Godot/src/game/ui/roomUI/ReloadBar.cs
index 71f2327..bb0b00b 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/ReloadBar.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/ReloadBar.cs
@@ -7,11 +7,11 @@
///
public class ReloadBar
{
- private RoomUI.UiNode_ReloadBar _reloadBar;
+ private RoomUI.RoomUI_ReloadBar _reloadBar;
private int width;
private float startX = 1;
- public ReloadBar(RoomUI.UiNode_ReloadBar reloadBar)
+ public ReloadBar(RoomUI.RoomUI_ReloadBar reloadBar)
{
reloadBar.Instance.Visible = false;
_reloadBar = reloadBar;
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/RoomUI.cs b/DungeonShooting_Godot/src/game/ui/roomUI/RoomUI.cs
index 9db9d95..53c3289 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/RoomUI.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/RoomUI.cs
@@ -8,41 +8,41 @@
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.InteractiveTipBar
///
- public UiNode_InteractiveTipBar L_InteractiveTipBar
+ public RoomUI_InteractiveTipBar L_InteractiveTipBar
{
get
{
- if (_L_InteractiveTipBar == null) _L_InteractiveTipBar = new UiNode_InteractiveTipBar(GetNodeOrNull("InteractiveTipBar"));
+ if (_L_InteractiveTipBar == null) _L_InteractiveTipBar = new RoomUI_InteractiveTipBar(GetNodeOrNull("InteractiveTipBar"));
return _L_InteractiveTipBar;
}
}
- private UiNode_InteractiveTipBar _L_InteractiveTipBar;
+ private RoomUI_InteractiveTipBar _L_InteractiveTipBar;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.ReloadBar
///
- public UiNode_ReloadBar L_ReloadBar
+ public RoomUI_ReloadBar L_ReloadBar
{
get
{
- if (_L_ReloadBar == null) _L_ReloadBar = new UiNode_ReloadBar(GetNodeOrNull("ReloadBar"));
+ if (_L_ReloadBar == null) _L_ReloadBar = new RoomUI_ReloadBar(GetNodeOrNull("ReloadBar"));
return _L_ReloadBar;
}
}
- private UiNode_ReloadBar _L_ReloadBar;
+ private RoomUI_ReloadBar _L_ReloadBar;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control
///
- public UiNode_Control L_Control
+ public RoomUI_Control L_Control
{
get
{
- if (_L_Control == null) _L_Control = new UiNode_Control(GetNodeOrNull("Control"));
+ if (_L_Control == null) _L_Control = new RoomUI_Control(GetNodeOrNull("Control"));
return _L_Control;
}
}
- private UiNode_Control _L_Control;
+ private RoomUI_Control _L_Control;
public RoomUI() : base(nameof(RoomUI))
@@ -52,490 +52,611 @@
///
/// 类型: , 路径: RoomUI.InteractiveTipBar.Icon
///
- public class UiNode_Icon : IUiNode
+ public class RoomUI_Icon : IUiNode
{
- public UiNode_Icon(Godot.TextureRect node) : base(node) { }
- public override UiNode_Icon Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_Icon(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_Icon Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.InteractiveTipBar.InteractiveIcon
///
- public class UiNode_InteractiveIcon : IUiNode
+ public class RoomUI_InteractiveIcon : IUiNode
{
- public UiNode_InteractiveIcon(Godot.TextureRect node) : base(node) { }
- public override UiNode_InteractiveIcon Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_InteractiveIcon(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_InteractiveIcon Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.InteractiveTipBar.Line2D
///
- public class UiNode_Line2D : IUiNode
+ public class RoomUI_Line2D : IUiNode
{
- public UiNode_Line2D(Godot.Line2D node) : base(node) { }
- public override UiNode_Line2D Clone() => new ((Godot.Line2D)Instance.Duplicate());
+ public RoomUI_Line2D(Godot.Line2D node) : base(node) { }
+ public override RoomUI_Line2D Clone() => new ((Godot.Line2D)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.InteractiveTipBar.NameLabel
///
- public class UiNode_NameLabel : IUiNode
+ public class RoomUI_NameLabel : IUiNode
{
- public UiNode_NameLabel(Godot.Label node) : base(node) { }
- public override UiNode_NameLabel Clone() => new ((Godot.Label)Instance.Duplicate());
+ public RoomUI_NameLabel(Godot.Label node) : base(node) { }
+ public override RoomUI_NameLabel Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.InteractiveTipBar
///
- public class UiNode_InteractiveTipBar : IUiNode
+ public class RoomUI_InteractiveTipBar : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Icon
///
- public UiNode_Icon L_Icon
+ public RoomUI_Icon L_Icon
{
get
{
- if (_L_Icon == null) _L_Icon = new UiNode_Icon(Instance.GetNodeOrNull("Icon"));
+ if (_L_Icon == null) _L_Icon = new RoomUI_Icon(Instance.GetNodeOrNull("Icon"));
return _L_Icon;
}
}
- private UiNode_Icon _L_Icon;
+ private RoomUI_Icon _L_Icon;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.InteractiveIcon
///
- public UiNode_InteractiveIcon L_InteractiveIcon
+ public RoomUI_InteractiveIcon L_InteractiveIcon
{
get
{
- if (_L_InteractiveIcon == null) _L_InteractiveIcon = new UiNode_InteractiveIcon(Instance.GetNodeOrNull("InteractiveIcon"));
+ if (_L_InteractiveIcon == null) _L_InteractiveIcon = new RoomUI_InteractiveIcon(Instance.GetNodeOrNull("InteractiveIcon"));
return _L_InteractiveIcon;
}
}
- private UiNode_InteractiveIcon _L_InteractiveIcon;
+ private RoomUI_InteractiveIcon _L_InteractiveIcon;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Line2D
///
- public UiNode_Line2D L_Line2D
+ public RoomUI_Line2D L_Line2D
{
get
{
- if (_L_Line2D == null) _L_Line2D = new UiNode_Line2D(Instance.GetNodeOrNull("Line2D"));
+ if (_L_Line2D == null) _L_Line2D = new RoomUI_Line2D(Instance.GetNodeOrNull("Line2D"));
return _L_Line2D;
}
}
- private UiNode_Line2D _L_Line2D;
+ private RoomUI_Line2D _L_Line2D;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.NameLabel
///
- public UiNode_NameLabel L_NameLabel
+ public RoomUI_NameLabel L_NameLabel
{
get
{
- if (_L_NameLabel == null) _L_NameLabel = new UiNode_NameLabel(Instance.GetNodeOrNull("NameLabel"));
+ if (_L_NameLabel == null) _L_NameLabel = new RoomUI_NameLabel(Instance.GetNodeOrNull("NameLabel"));
return _L_NameLabel;
}
}
- private UiNode_NameLabel _L_NameLabel;
+ private RoomUI_NameLabel _L_NameLabel;
- public UiNode_InteractiveTipBar(Godot.Control node) : base(node) { }
- public override UiNode_InteractiveTipBar Clone() => new ((Godot.Control)Instance.Duplicate());
+ public RoomUI_InteractiveTipBar(Godot.Control node) : base(node) { }
+ public override RoomUI_InteractiveTipBar Clone() => new ((Godot.Control)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.ReloadBar.Slot.Block
///
- public class UiNode_Block : IUiNode
+ public class RoomUI_Block : IUiNode
{
- public UiNode_Block(Godot.Sprite2D node) : base(node) { }
- public override UiNode_Block Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
+ public RoomUI_Block(Godot.Sprite2D node) : base(node) { }
+ public override RoomUI_Block Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.ReloadBar.Slot
///
- public class UiNode_Slot : IUiNode
+ public class RoomUI_Slot : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.ReloadBar.Block
///
- public UiNode_Block L_Block
+ public RoomUI_Block L_Block
{
get
{
- if (_L_Block == null) _L_Block = new UiNode_Block(Instance.GetNodeOrNull("Block"));
+ if (_L_Block == null) _L_Block = new RoomUI_Block(Instance.GetNodeOrNull("Block"));
return _L_Block;
}
}
- private UiNode_Block _L_Block;
+ private RoomUI_Block _L_Block;
- public UiNode_Slot(Godot.TextureRect node) : base(node) { }
- public override UiNode_Slot Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_Slot(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_Slot Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.ReloadBar
///
- public class UiNode_ReloadBar : IUiNode
+ public class RoomUI_ReloadBar : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Slot
///
- public UiNode_Slot L_Slot
+ public RoomUI_Slot L_Slot
{
get
{
- if (_L_Slot == null) _L_Slot = new UiNode_Slot(Instance.GetNodeOrNull("Slot"));
+ if (_L_Slot == null) _L_Slot = new RoomUI_Slot(Instance.GetNodeOrNull("Slot"));
return _L_Slot;
}
}
- private UiNode_Slot _L_Slot;
+ private RoomUI_Slot _L_Slot;
- public UiNode_ReloadBar(Godot.Control node) : base(node) { }
- public override UiNode_ReloadBar Clone() => new ((Godot.Control)Instance.Duplicate());
+ public RoomUI_ReloadBar(Godot.Control node) : base(node) { }
+ public override RoomUI_ReloadBar Clone() => new ((Godot.Control)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.LifeBar.Life
///
- public class UiNode_Life : IUiNode
+ public class RoomUI_Life : IUiNode
{
- public UiNode_Life(Godot.TextureRect node) : base(node) { }
- public override UiNode_Life Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_Life(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_Life Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.LifeBar
///
- public class UiNode_LifeBar : IUiNode
+ public class RoomUI_LifeBar : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.Life
///
- public UiNode_Life L_Life
+ public RoomUI_Life L_Life
{
get
{
- if (_L_Life == null) _L_Life = new UiNode_Life(Instance.GetNodeOrNull("Life"));
+ if (_L_Life == null) _L_Life = new RoomUI_Life(Instance.GetNodeOrNull("Life"));
return _L_Life;
}
}
- private UiNode_Life _L_Life;
+ private RoomUI_Life _L_Life;
- public UiNode_LifeBar(Godot.Control node) : base(node) { }
- public override UiNode_LifeBar Clone() => new ((Godot.Control)Instance.Duplicate());
+ public RoomUI_LifeBar(Godot.Control node) : base(node) { }
+ public override RoomUI_LifeBar Clone() => new ((Godot.Control)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.MapBar
///
- public class UiNode_MapBar : IUiNode
+ public class RoomUI_MapBar : IUiNode
{
- public UiNode_MapBar(Godot.TextureRect node) : base(node) { }
- public override UiNode_MapBar Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_MapBar(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_MapBar Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.ActivePropBg
///
- public class UiNode_ActivePropBg : IUiNode
+ public class RoomUI_ActivePropBg : IUiNode
{
- public UiNode_ActivePropBg(Godot.NinePatchRect node) : base(node) { }
- public override UiNode_ActivePropBg Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
+ public RoomUI_ActivePropBg(Godot.NinePatchRect node) : base(node) { }
+ public override RoomUI_ActivePropBg Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.ActivePropSprite
///
- public class UiNode_ActivePropSprite : IUiNode
+ public class RoomUI_ActivePropSprite : IUiNode
{
- public UiNode_ActivePropSprite(Godot.TextureRect node) : base(node) { }
- public override UiNode_ActivePropSprite Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_ActivePropSprite(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_ActivePropSprite Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.CooldownProgress
///
- public class UiNode_CooldownProgress : IUiNode
+ public class RoomUI_CooldownProgress : IUiNode
{
- public UiNode_CooldownProgress(Godot.Sprite2D node) : base(node) { }
- public override UiNode_CooldownProgress Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
+ public RoomUI_CooldownProgress(Godot.Sprite2D node) : base(node) { }
+ public override RoomUI_CooldownProgress Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.ActivePropCount
///
- public class UiNode_ActivePropCount : IUiNode
+ public class RoomUI_ActivePropCount : IUiNode
{
- public UiNode_ActivePropCount(Godot.Label node) : base(node) { }
- public override UiNode_ActivePropCount Clone() => new ((Godot.Label)Instance.Duplicate());
+ public RoomUI_ActivePropCount(Godot.Label node) : base(node) { }
+ public override RoomUI_ActivePropCount Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.ActivePropPanel
///
- public class UiNode_ActivePropPanel : IUiNode
+ public class RoomUI_ActivePropPanel : IUiNode
{
- public UiNode_ActivePropPanel(Godot.NinePatchRect node) : base(node) { }
- public override UiNode_ActivePropPanel Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
+ public RoomUI_ActivePropPanel(Godot.NinePatchRect node) : base(node) { }
+ public override RoomUI_ActivePropPanel Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.ChargeProgressBar
///
- public class UiNode_ChargeProgressBar : IUiNode
+ public class RoomUI_ChargeProgressBar : IUiNode
{
- public UiNode_ChargeProgressBar(Godot.NinePatchRect node) : base(node) { }
- public override UiNode_ChargeProgressBar Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
+ public RoomUI_ChargeProgressBar(Godot.NinePatchRect node) : base(node) { }
+ public override RoomUI_ChargeProgressBar Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar.ChargeProgress
///
- public class UiNode_ChargeProgress : IUiNode
+ public class RoomUI_ChargeProgress : IUiNode
{
- public UiNode_ChargeProgress(Godot.Sprite2D node) : base(node) { }
- public override UiNode_ChargeProgress Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
+ public RoomUI_ChargeProgress(Godot.Sprite2D node) : base(node) { }
+ public override RoomUI_ChargeProgress Clone() => new ((Godot.Sprite2D)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.ActivePropBar
///
- public class UiNode_ActivePropBar : IUiNode
+ public class RoomUI_ActivePropBar : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.ActivePropBg
///
- public UiNode_ActivePropBg L_ActivePropBg
+ public RoomUI_ActivePropBg L_ActivePropBg
{
get
{
- if (_L_ActivePropBg == null) _L_ActivePropBg = new UiNode_ActivePropBg(Instance.GetNodeOrNull("ActivePropBg"));
+ if (_L_ActivePropBg == null) _L_ActivePropBg = new RoomUI_ActivePropBg(Instance.GetNodeOrNull("ActivePropBg"));
return _L_ActivePropBg;
}
}
- private UiNode_ActivePropBg _L_ActivePropBg;
+ private RoomUI_ActivePropBg _L_ActivePropBg;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.ActivePropSprite
///
- public UiNode_ActivePropSprite L_ActivePropSprite
+ public RoomUI_ActivePropSprite L_ActivePropSprite
{
get
{
- if (_L_ActivePropSprite == null) _L_ActivePropSprite = new UiNode_ActivePropSprite(Instance.GetNodeOrNull("ActivePropSprite"));
+ if (_L_ActivePropSprite == null) _L_ActivePropSprite = new RoomUI_ActivePropSprite(Instance.GetNodeOrNull("ActivePropSprite"));
return _L_ActivePropSprite;
}
}
- private UiNode_ActivePropSprite _L_ActivePropSprite;
+ private RoomUI_ActivePropSprite _L_ActivePropSprite;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.CooldownProgress
///
- public UiNode_CooldownProgress L_CooldownProgress
+ public RoomUI_CooldownProgress L_CooldownProgress
{
get
{
- if (_L_CooldownProgress == null) _L_CooldownProgress = new UiNode_CooldownProgress(Instance.GetNodeOrNull("CooldownProgress"));
+ if (_L_CooldownProgress == null) _L_CooldownProgress = new RoomUI_CooldownProgress(Instance.GetNodeOrNull("CooldownProgress"));
return _L_CooldownProgress;
}
}
- private UiNode_CooldownProgress _L_CooldownProgress;
+ private RoomUI_CooldownProgress _L_CooldownProgress;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.ActivePropCount
///
- public UiNode_ActivePropCount L_ActivePropCount
+ public RoomUI_ActivePropCount L_ActivePropCount
{
get
{
- if (_L_ActivePropCount == null) _L_ActivePropCount = new UiNode_ActivePropCount(Instance.GetNodeOrNull("ActivePropCount"));
+ if (_L_ActivePropCount == null) _L_ActivePropCount = new RoomUI_ActivePropCount(Instance.GetNodeOrNull("ActivePropCount"));
return _L_ActivePropCount;
}
}
- private UiNode_ActivePropCount _L_ActivePropCount;
+ private RoomUI_ActivePropCount _L_ActivePropCount;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.ActivePropPanel
///
- public UiNode_ActivePropPanel L_ActivePropPanel
+ public RoomUI_ActivePropPanel L_ActivePropPanel
{
get
{
- if (_L_ActivePropPanel == null) _L_ActivePropPanel = new UiNode_ActivePropPanel(Instance.GetNodeOrNull("ActivePropPanel"));
+ if (_L_ActivePropPanel == null) _L_ActivePropPanel = new RoomUI_ActivePropPanel(Instance.GetNodeOrNull("ActivePropPanel"));
return _L_ActivePropPanel;
}
}
- private UiNode_ActivePropPanel _L_ActivePropPanel;
+ private RoomUI_ActivePropPanel _L_ActivePropPanel;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.ChargeProgressBar
///
- public UiNode_ChargeProgressBar L_ChargeProgressBar
+ public RoomUI_ChargeProgressBar L_ChargeProgressBar
{
get
{
- if (_L_ChargeProgressBar == null) _L_ChargeProgressBar = new UiNode_ChargeProgressBar(Instance.GetNodeOrNull("ChargeProgressBar"));
+ if (_L_ChargeProgressBar == null) _L_ChargeProgressBar = new RoomUI_ChargeProgressBar(Instance.GetNodeOrNull("ChargeProgressBar"));
return _L_ChargeProgressBar;
}
}
- private UiNode_ChargeProgressBar _L_ChargeProgressBar;
+ private RoomUI_ChargeProgressBar _L_ChargeProgressBar;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.ChargeProgress
///
- public UiNode_ChargeProgress L_ChargeProgress
+ public RoomUI_ChargeProgress L_ChargeProgress
{
get
{
- if (_L_ChargeProgress == null) _L_ChargeProgress = new UiNode_ChargeProgress(Instance.GetNodeOrNull("ChargeProgress"));
+ if (_L_ChargeProgress == null) _L_ChargeProgress = new RoomUI_ChargeProgress(Instance.GetNodeOrNull("ChargeProgress"));
return _L_ChargeProgress;
}
}
- private UiNode_ChargeProgress _L_ChargeProgress;
+ private RoomUI_ChargeProgress _L_ChargeProgress;
- public UiNode_ActivePropBar(Godot.Control node) : base(node) { }
- public override UiNode_ActivePropBar Clone() => new ((Godot.Control)Instance.Duplicate());
+ public RoomUI_ActivePropBar(Godot.Control node) : base(node) { }
+ public override RoomUI_ActivePropBar Clone() => new ((Godot.Control)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.WeaponBar.WeaponPanel.WeaponSprite
///
- public class UiNode_WeaponSprite : IUiNode
+ public class RoomUI_WeaponSprite : IUiNode
{
- public UiNode_WeaponSprite(Godot.TextureRect node) : base(node) { }
- public override UiNode_WeaponSprite Clone() => new ((Godot.TextureRect)Instance.Duplicate());
+ public RoomUI_WeaponSprite(Godot.TextureRect node) : base(node) { }
+ public override RoomUI_WeaponSprite Clone() => new ((Godot.TextureRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.WeaponBar.WeaponPanel
///
- public class UiNode_WeaponPanel : IUiNode
+ public class RoomUI_WeaponPanel : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.WeaponBar.WeaponSprite
///
- public UiNode_WeaponSprite L_WeaponSprite
+ public RoomUI_WeaponSprite L_WeaponSprite
{
get
{
- if (_L_WeaponSprite == null) _L_WeaponSprite = new UiNode_WeaponSprite(Instance.GetNodeOrNull("WeaponSprite"));
+ if (_L_WeaponSprite == null) _L_WeaponSprite = new RoomUI_WeaponSprite(Instance.GetNodeOrNull("WeaponSprite"));
return _L_WeaponSprite;
}
}
- private UiNode_WeaponSprite _L_WeaponSprite;
+ private RoomUI_WeaponSprite _L_WeaponSprite;
- public UiNode_WeaponPanel(Godot.NinePatchRect node) : base(node) { }
- public override UiNode_WeaponPanel Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
+ public RoomUI_WeaponPanel(Godot.NinePatchRect node) : base(node) { }
+ public override RoomUI_WeaponPanel Clone() => new ((Godot.NinePatchRect)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.WeaponBar.AmmoCount
///
- public class UiNode_AmmoCount : IUiNode
+ public class RoomUI_AmmoCount : IUiNode
{
- public UiNode_AmmoCount(Godot.Label node) : base(node) { }
- public override UiNode_AmmoCount Clone() => new ((Godot.Label)Instance.Duplicate());
+ public RoomUI_AmmoCount(Godot.Label node) : base(node) { }
+ public override RoomUI_AmmoCount Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control.WeaponBar
///
- public class UiNode_WeaponBar : IUiNode
+ public class RoomUI_WeaponBar : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.WeaponPanel
///
- public UiNode_WeaponPanel L_WeaponPanel
+ public RoomUI_WeaponPanel L_WeaponPanel
{
get
{
- if (_L_WeaponPanel == null) _L_WeaponPanel = new UiNode_WeaponPanel(Instance.GetNodeOrNull("WeaponPanel"));
+ if (_L_WeaponPanel == null) _L_WeaponPanel = new RoomUI_WeaponPanel(Instance.GetNodeOrNull("WeaponPanel"));
return _L_WeaponPanel;
}
}
- private UiNode_WeaponPanel _L_WeaponPanel;
+ private RoomUI_WeaponPanel _L_WeaponPanel;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.Control.AmmoCount
///
- public UiNode_AmmoCount L_AmmoCount
+ public RoomUI_AmmoCount L_AmmoCount
{
get
{
- if (_L_AmmoCount == null) _L_AmmoCount = new UiNode_AmmoCount(Instance.GetNodeOrNull("AmmoCount"));
+ if (_L_AmmoCount == null) _L_AmmoCount = new RoomUI_AmmoCount(Instance.GetNodeOrNull("AmmoCount"));
return _L_AmmoCount;
}
}
- private UiNode_AmmoCount _L_AmmoCount;
+ private RoomUI_AmmoCount _L_AmmoCount;
- public UiNode_WeaponBar(Godot.Control node) : base(node) { }
- public override UiNode_WeaponBar Clone() => new ((Godot.Control)Instance.Duplicate());
+ public RoomUI_WeaponBar(Godot.Control node) : base(node) { }
+ public override RoomUI_WeaponBar Clone() => new ((Godot.Control)Instance.Duplicate());
}
///
/// 类型: , 路径: RoomUI.Control
///
- public class UiNode_Control : IUiNode
+ public class RoomUI_Control : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.LifeBar
///
- public UiNode_LifeBar L_LifeBar
+ public RoomUI_LifeBar L_LifeBar
{
get
{
- if (_L_LifeBar == null) _L_LifeBar = new UiNode_LifeBar(Instance.GetNodeOrNull("LifeBar"));
+ if (_L_LifeBar == null) _L_LifeBar = new RoomUI_LifeBar(Instance.GetNodeOrNull("LifeBar"));
return _L_LifeBar;
}
}
- private UiNode_LifeBar _L_LifeBar;
+ private RoomUI_LifeBar _L_LifeBar;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.MapBar
///
- public UiNode_MapBar L_MapBar
+ public RoomUI_MapBar L_MapBar
{
get
{
- if (_L_MapBar == null) _L_MapBar = new UiNode_MapBar(Instance.GetNodeOrNull("MapBar"));
+ if (_L_MapBar == null) _L_MapBar = new RoomUI_MapBar(Instance.GetNodeOrNull("MapBar"));
return _L_MapBar;
}
}
- private UiNode_MapBar _L_MapBar;
+ private RoomUI_MapBar _L_MapBar;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.ActivePropBar
///
- public UiNode_ActivePropBar L_ActivePropBar
+ public RoomUI_ActivePropBar L_ActivePropBar
{
get
{
- if (_L_ActivePropBar == null) _L_ActivePropBar = new UiNode_ActivePropBar(Instance.GetNodeOrNull("ActivePropBar"));
+ if (_L_ActivePropBar == null) _L_ActivePropBar = new RoomUI_ActivePropBar(Instance.GetNodeOrNull("ActivePropBar"));
return _L_ActivePropBar;
}
}
- private UiNode_ActivePropBar _L_ActivePropBar;
+ private RoomUI_ActivePropBar _L_ActivePropBar;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: RoomUI.WeaponBar
///
- public UiNode_WeaponBar L_WeaponBar
+ public RoomUI_WeaponBar L_WeaponBar
{
get
{
- if (_L_WeaponBar == null) _L_WeaponBar = new UiNode_WeaponBar(Instance.GetNodeOrNull("WeaponBar"));
+ if (_L_WeaponBar == null) _L_WeaponBar = new RoomUI_WeaponBar(Instance.GetNodeOrNull("WeaponBar"));
return _L_WeaponBar;
}
}
- private UiNode_WeaponBar _L_WeaponBar;
+ private RoomUI_WeaponBar _L_WeaponBar;
- public UiNode_Control(Godot.Control node) : base(node) { }
- public override UiNode_Control Clone() => new ((Godot.Control)Instance.Duplicate());
+ public RoomUI_Control(Godot.Control node) : base(node) { }
+ public override RoomUI_Control Clone() => new ((Godot.Control)Instance.Duplicate());
}
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.InteractiveTipBar.Icon
+ ///
+ public RoomUI_Icon S_Icon => L_InteractiveTipBar.L_Icon;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.InteractiveTipBar.InteractiveIcon
+ ///
+ public RoomUI_InteractiveIcon S_InteractiveIcon => L_InteractiveTipBar.L_InteractiveIcon;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.InteractiveTipBar.Line2D
+ ///
+ public RoomUI_Line2D S_Line2D => L_InteractiveTipBar.L_Line2D;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.InteractiveTipBar.NameLabel
+ ///
+ public RoomUI_NameLabel S_NameLabel => L_InteractiveTipBar.L_NameLabel;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.InteractiveTipBar
+ ///
+ public RoomUI_InteractiveTipBar S_InteractiveTipBar => L_InteractiveTipBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.ReloadBar.Slot.Block
+ ///
+ public RoomUI_Block S_Block => L_ReloadBar.L_Slot.L_Block;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.ReloadBar.Slot
+ ///
+ public RoomUI_Slot S_Slot => L_ReloadBar.L_Slot;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.ReloadBar
+ ///
+ public RoomUI_ReloadBar S_ReloadBar => L_ReloadBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.LifeBar.Life
+ ///
+ public RoomUI_Life S_Life => L_Control.L_LifeBar.L_Life;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.LifeBar
+ ///
+ public RoomUI_LifeBar S_LifeBar => L_Control.L_LifeBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.MapBar
+ ///
+ public RoomUI_MapBar S_MapBar => L_Control.L_MapBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.ActivePropBg
+ ///
+ public RoomUI_ActivePropBg S_ActivePropBg => L_Control.L_ActivePropBar.L_ActivePropBg;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.ActivePropSprite
+ ///
+ public RoomUI_ActivePropSprite S_ActivePropSprite => L_Control.L_ActivePropBar.L_ActivePropSprite;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.CooldownProgress
+ ///
+ public RoomUI_CooldownProgress S_CooldownProgress => L_Control.L_ActivePropBar.L_CooldownProgress;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.ActivePropCount
+ ///
+ public RoomUI_ActivePropCount S_ActivePropCount => L_Control.L_ActivePropBar.L_ActivePropCount;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.ActivePropPanel
+ ///
+ public RoomUI_ActivePropPanel S_ActivePropPanel => L_Control.L_ActivePropBar.L_ActivePropPanel;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.ChargeProgressBar
+ ///
+ public RoomUI_ChargeProgressBar S_ChargeProgressBar => L_Control.L_ActivePropBar.L_ChargeProgressBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar.ChargeProgress
+ ///
+ public RoomUI_ChargeProgress S_ChargeProgress => L_Control.L_ActivePropBar.L_ChargeProgress;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.ActivePropBar
+ ///
+ public RoomUI_ActivePropBar S_ActivePropBar => L_Control.L_ActivePropBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.WeaponBar.WeaponPanel.WeaponSprite
+ ///
+ public RoomUI_WeaponSprite S_WeaponSprite => L_Control.L_WeaponBar.L_WeaponPanel.L_WeaponSprite;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.WeaponBar.WeaponPanel
+ ///
+ public RoomUI_WeaponPanel S_WeaponPanel => L_Control.L_WeaponBar.L_WeaponPanel;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.WeaponBar.AmmoCount
+ ///
+ public RoomUI_AmmoCount S_AmmoCount => L_Control.L_WeaponBar.L_AmmoCount;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control.WeaponBar
+ ///
+ public RoomUI_WeaponBar S_WeaponBar => L_Control.L_WeaponBar;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: RoomUI.Control
+ ///
+ public RoomUI_Control S_Control => L_Control;
+
}
diff --git a/DungeonShooting_Godot/src/game/ui/roomUI/WeaponBar.cs b/DungeonShooting_Godot/src/game/ui/roomUI/WeaponBar.cs
index e6beffc..01423cf 100644
--- a/DungeonShooting_Godot/src/game/ui/roomUI/WeaponBar.cs
+++ b/DungeonShooting_Godot/src/game/ui/roomUI/WeaponBar.cs
@@ -4,12 +4,12 @@
public class WeaponBar
{
- private RoomUI.UiNode_WeaponBar _weaponBar;
+ private RoomUI.RoomUI_WeaponBar _weaponBar;
private int _prevAmmo = -1;
private int _prevResidue = -1;
- public WeaponBar(RoomUI.UiNode_WeaponBar weaponBar)
+ public WeaponBar(RoomUI.RoomUI_WeaponBar weaponBar)
{
_weaponBar = weaponBar;
SetWeaponTexture(null);
diff --git a/DungeonShooting_Godot/src/game/ui/settlement/Settlement.cs b/DungeonShooting_Godot/src/game/ui/settlement/Settlement.cs
index e61f5ca..12819d5 100644
--- a/DungeonShooting_Godot/src/game/ui/settlement/Settlement.cs
+++ b/DungeonShooting_Godot/src/game/ui/settlement/Settlement.cs
@@ -8,41 +8,41 @@
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Settlement.Bg
///
- public UiNode_Bg L_Bg
+ public Settlement_Bg L_Bg
{
get
{
- if (_L_Bg == null) _L_Bg = new UiNode_Bg(GetNodeOrNull("Bg"));
+ if (_L_Bg == null) _L_Bg = new Settlement_Bg(GetNodeOrNull("Bg"));
return _L_Bg;
}
}
- private UiNode_Bg _L_Bg;
+ private Settlement_Bg _L_Bg;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Settlement.Title
///
- public UiNode_Title L_Title
+ public Settlement_Title L_Title
{
get
{
- if (_L_Title == null) _L_Title = new UiNode_Title(GetNodeOrNull("Title"));
+ if (_L_Title == null) _L_Title = new Settlement_Title(GetNodeOrNull("Title"));
return _L_Title;
}
}
- private UiNode_Title _L_Title;
+ private Settlement_Title _L_Title;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Settlement.ButtonList
///
- public UiNode_ButtonList L_ButtonList
+ public Settlement_ButtonList L_ButtonList
{
get
{
- if (_L_ButtonList == null) _L_ButtonList = new UiNode_ButtonList(GetNodeOrNull("ButtonList"));
+ if (_L_ButtonList == null) _L_ButtonList = new Settlement_ButtonList(GetNodeOrNull("ButtonList"));
return _L_ButtonList;
}
}
- private UiNode_ButtonList _L_ButtonList;
+ private Settlement_ButtonList _L_ButtonList;
public Settlement() : base(nameof(Settlement))
@@ -52,72 +52,98 @@
///
/// 类型: , 路径: Settlement.Bg
///
- public class UiNode_Bg : IUiNode
+ public class Settlement_Bg : IUiNode
{
- public UiNode_Bg(Godot.ColorRect node) : base(node) { }
- public override UiNode_Bg Clone() => new ((Godot.ColorRect)Instance.Duplicate());
+ public Settlement_Bg(Godot.ColorRect node) : base(node) { }
+ public override Settlement_Bg Clone() => new ((Godot.ColorRect)Instance.Duplicate());
}
///
/// 类型: , 路径: Settlement.Title
///
- public class UiNode_Title : IUiNode
+ public class Settlement_Title : IUiNode
{
- public UiNode_Title(Godot.Label node) : base(node) { }
- public override UiNode_Title Clone() => new ((Godot.Label)Instance.Duplicate());
+ public Settlement_Title(Godot.Label node) : base(node) { }
+ public override Settlement_Title Clone() => new ((Godot.Label)Instance.Duplicate());
}
///
/// 类型: , 路径: Settlement.ButtonList.Restart
///
- public class UiNode_Restart : IUiNode
+ public class Settlement_Restart : IUiNode
{
- public UiNode_Restart(Godot.Button node) : base(node) { }
- public override UiNode_Restart Clone() => new ((Godot.Button)Instance.Duplicate());
+ public Settlement_Restart(Godot.Button node) : base(node) { }
+ public override Settlement_Restart Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: Settlement.ButtonList.ToMenu
///
- public class UiNode_ToMenu : IUiNode
+ public class Settlement_ToMenu : IUiNode
{
- public UiNode_ToMenu(Godot.Button node) : base(node) { }
- public override UiNode_ToMenu Clone() => new ((Godot.Button)Instance.Duplicate());
+ public Settlement_ToMenu(Godot.Button node) : base(node) { }
+ public override Settlement_ToMenu Clone() => new ((Godot.Button)Instance.Duplicate());
}
///
/// 类型: , 路径: Settlement.ButtonList
///
- public class UiNode_ButtonList : IUiNode
+ public class Settlement_ButtonList : IUiNode
{
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Settlement.Restart
///
- public UiNode_Restart L_Restart
+ public Settlement_Restart L_Restart
{
get
{
- if (_L_Restart == null) _L_Restart = new UiNode_Restart(Instance.GetNodeOrNull("Restart"));
+ if (_L_Restart == null) _L_Restart = new Settlement_Restart(Instance.GetNodeOrNull("Restart"));
return _L_Restart;
}
}
- private UiNode_Restart _L_Restart;
+ private Settlement_Restart _L_Restart;
///
/// 使用 Instance 属性获取当前节点实例对象, 节点类型: , 节点路径: Settlement.ToMenu
///
- public UiNode_ToMenu L_ToMenu
+ public Settlement_ToMenu L_ToMenu
{
get
{
- if (_L_ToMenu == null) _L_ToMenu = new UiNode_ToMenu(Instance.GetNodeOrNull("ToMenu"));
+ if (_L_ToMenu == null) _L_ToMenu = new Settlement_ToMenu(Instance.GetNodeOrNull("ToMenu"));
return _L_ToMenu;
}
}
- private UiNode_ToMenu _L_ToMenu;
+ private Settlement_ToMenu _L_ToMenu;
- public UiNode_ButtonList(Godot.VBoxContainer node) : base(node) { }
- public override UiNode_ButtonList Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
+ public Settlement_ButtonList(Godot.VBoxContainer node) : base(node) { }
+ public override Settlement_ButtonList Clone() => new ((Godot.VBoxContainer)Instance.Duplicate());
}
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Settlement.Bg
+ ///
+ public Settlement_Bg S_Bg => L_Bg;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Settlement.Title
+ ///
+ public Settlement_Title S_Title => L_Title;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Settlement.ButtonList.Restart
+ ///
+ public Settlement_Restart S_Restart => L_ButtonList.L_Restart;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Settlement.ButtonList.ToMenu
+ ///
+ public Settlement_ToMenu S_ToMenu => L_ButtonList.L_ToMenu;
+
+ ///
+ /// 场景中唯一名称的节点, 节点类型: , 节点路径: Settlement.ButtonList
+ ///
+ public Settlement_ButtonList S_ButtonList => L_ButtonList;
+
}