This commit is contained in:
SoulliesOfficial
2026-06-09 01:43:55 -04:00
parent 0fb72f5bba
commit 5fc1392747
171 changed files with 30149 additions and 22331 deletions

View File

@@ -543,16 +543,14 @@ namespace ichni.RhythmGame // [修复] 修正命名空间首字母大写,符
{
base.SetUpInspector();
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
var container = inspector.GenerateContainer("Fast Note Tracker");
var sub = container.GenerateSubcontainer(2);
inspector.GenerateToggle(this, sub, "Enabled", nameof(IsEnabled));
// 修正变量名
inspector.GenerateInputField(this, sub, "Beat Diver", nameof(BeatDiver));
inspector.GenerateToggle(this, sub, "Force refresh (cost++)", nameof(ForceRefresh));
inspector.GenerateInputField(this, sub, "Horizon Width", nameof(horizonWidth));
inspector.GenerateToggle(this, sub, "Show Note Preview", nameof(showNotePreview));
InspectorBuilder.For(this)
.Section("Fast Note Tracker")
.Toggle(nameof(IsEnabled), "Enabled").Span(2)
.InputField(nameof(BeatDiver), "Beat Diver").Span(2)
.Toggle(nameof(ForceRefresh), "Force refresh (cost++)").Span(2)
.InputField(nameof(horizonWidth), "Horizon Width").Span(2)
.Toggle(nameof(showNotePreview), "Show Note Preview").Span(2)
.Build();
}
public static FastNoteTracker GenerateElement(string elementName, Guid id, List<string> tags,