diff --git a/Assets/HGF/Scripts/Galgame/GalManager.cs b/Assets/HGF/Scripts/Galgame/GalManager.cs index 6d46733..00ce2e9 100644 --- a/Assets/HGF/Scripts/Galgame/GalManager.cs +++ b/Assets/HGF/Scripts/Galgame/GalManager.cs @@ -58,11 +58,6 @@ namespace ScenesScripts.GalPlot public Queue MainPlot = new(); public class Struct_Choice { - public Struct_Choice (string Title, string JumpID) - { - this.Title = Title; - this.JumpID = JumpID; - } public string Title; public string JumpID; } @@ -250,7 +245,7 @@ namespace ScenesScripts.GalPlot foreach (var ClildItem in PlotData.NowPlotDataNode.Elements()) { if (ClildItem.Name.ToString() == "Choice") - PlotData.ChoiceText.Add(new Struct_Choice(ClildItem.Value, ClildItem.Attribute("JumpID").Value)); + PlotData.ChoiceText.Add(new Struct_Choice { Title = ClildItem.Value, JumpID = ClildItem.Attribute("JumpID").Value };); } Gal_Text.StartTextContent(PlotData.NowPlotDataNode.Attribute("Content").Value, _nodeinfo.Name, _nodeinfo.Affiliation, () =>