采音器初步

This commit is contained in:
2025-05-01 22:54:56 +08:00
parent a0e1338c36
commit 6f1ed89221
23 changed files with 6562 additions and 351 deletions

View File

@@ -291,9 +291,17 @@ namespace Ichni.RhythmGame
var setOnlyStartEndPathNodeSphereEnabledButton =
inspector.GenerateButton(this, pathNodeToolsSubcontainer, "Only Enable Start & End Path Node's sphere",
SetOnlyStartEndPathNodeSphereEnabled);
var Sampler = inspector.GenerateContainer("Sampler"); //cyq
var SamplerSubcontainer = Sampler.GenerateSubcontainer(1);
var SamplerButton = inspector.GenerateButton(this, SamplerSubcontainer, "Sampler", () =>
{
SampleWindow sampleWindow = inspector.GenerateSampler(this, this.elementName);
}
);
}
}
public partial class Track
{
[Button("Test GetAllNotes")]
@@ -312,7 +320,7 @@ namespace Ichni.RhythmGame
{
Debug.Log(note.GetType() + " " + note.elementName + " " + note.exactJudgeTime);
}
return notes;
}
}