Signed-off-by: TRADER_FOER <lhf190@outlook.com>

This commit is contained in:
2026-05-02 22:10:19 +08:00
parent 91bc3a269b
commit 648269d509
12 changed files with 236 additions and 165 deletions

View File

@@ -63,11 +63,7 @@ namespace Ichni
get => ProjectContainer.instance.useNotePrefab;
set => ProjectContainer.instance.useNotePrefab = value;
}
public bool ExpandWhileClick
{
get => ProjectContainer.instance.ExpandWhileClick;
set => ProjectContainer.instance.ExpandWhileClick = value;
}
public bool useQuickMove
{
get => ProjectContainer.instance.useQuickMove;
@@ -179,9 +175,9 @@ namespace Ichni
// 统一调度: Animation → Submodules → Track → Note
float songTime = CoreServices.TimeProvider.SongTime;
animationManager.ManualTick(songTime);
// 手动执行原本属于 UniRx 的每帧调度,消灭不可控的时序错乱
for (int i = 0; i < beatmapContainer.gameElementList.Count; i++)
{
@@ -192,12 +188,12 @@ namespace Ichni
{
timeHost.timeDurationSubmodule?.UpdateTimeDuration(songTime);
}
if(element is IHaveDirtyMarkSubmodule dirtyHost)
if (element is IHaveDirtyMarkSubmodule dirtyHost)
{
dirtyHost.dirtyMarkSubmodule?.ExecuteDeferredRefresh();
}
if (element.gameObject.activeSelf)
{
if (element is IHaveTransformSubmodule transformHost)

View File

@@ -49,6 +49,7 @@ namespace Ichni.Editor
{
currentSelectedElements.ForEach(gameElement =>
{
if (gameElement == null || gameElement.connectedTab == null) return;
gameElement.connectedTab.isSelected = false;
if (gameElement.connectedTab.BgImage != null)
{

View File

@@ -44,7 +44,6 @@ namespace Ichni
public NoteBase.NoteJudgeType currentJudgeType;
public bool useClickSelect = true;
public bool useNotePrefab = true;
public bool ExpandWhileClick = true;
public bool useQuickMove = false;
#endregion
@@ -77,7 +76,6 @@ namespace Ichni
});
inspector.GenerateToggle(this, inGameSettings, "Use Note Prefab", nameof(useNotePrefab));
inspector.GenerateToggle(this, inGameSettings, "Use Click Select", nameof(useClickSelect));
inspector.GenerateToggle(this, inGameSettings, "Expand Tab While Click", nameof(ExpandWhileClick));
inspector.GenerateToggle(this, inGameSettings, "Use Quick Move", nameof(useQuickMove));
var generation = container.GenerateSubcontainer(3);