着重优化调度

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-21 09:58:21 +08:00
parent 04ec368a59
commit 02617c1385
117 changed files with 107322 additions and 1326 deletions

View File

@@ -81,7 +81,7 @@ namespace Ichni.RhythmGame
{
Vector3 currentPosition = new Vector3(positionX.value, positionY.value, positionZ.value);
targetTransformSubmodule.positionOffset += currentPosition;
targetTransformSubmodule.positionDirtyMark = true;
targetTransformSubmodule.MarkPositionDirty();
}
}
else if (isSwitching)
@@ -107,7 +107,7 @@ namespace Ichni.RhythmGame
animationReturnType = FlexibleReturnType.MiddleExecuting;
Vector3 currentPosition = new Vector3(positionX.value, positionY.value, positionZ.value);
targetTransformSubmodule.positionOffset += currentPosition;
targetTransformSubmodule.positionDirtyMark = true;
targetTransformSubmodule.MarkPositionDirty();
}
}
else

View File

@@ -100,12 +100,12 @@ namespace Ichni.RhythmGame
if (enabling.value)
{
animationReturnType = FlexibleReturnType.MiddleExecuting;
targetTransformSubmodule.eulerAnglesDirtyMark = true;
targetTransformSubmodule.MarkEulerAnglesDirty();
}
else if (animationReturnType != FlexibleReturnType.MiddleInterval)
{
animationReturnType = FlexibleReturnType.MiddleInterval;
targetTransformSubmodule.eulerAnglesDirtyMark = true;
targetTransformSubmodule.MarkEulerAnglesDirty();
}
}

View File

@@ -86,7 +86,7 @@ namespace Ichni.RhythmGame
{
Vector3 currentScale = new Vector3(scaleX.value, scaleY.value, scaleZ.value);
targetTransformSubmodule.scaleOffset += currentScale;
targetTransformSubmodule.scaleDirtyMark = true;
targetTransformSubmodule.MarkScaleDirty();
}
}
else if (isSwitching)
@@ -112,7 +112,7 @@ namespace Ichni.RhythmGame
animationReturnType = FlexibleReturnType.MiddleExecuting; // 使系统认为有有效活动
Vector3 currentScale = new Vector3(scaleX.value, scaleY.value, scaleZ.value);
targetTransformSubmodule.scaleOffset += currentScale;
targetTransformSubmodule.scaleDirtyMark = true;
targetTransformSubmodule.MarkScaleDirty();
}
}
else

View File

@@ -79,7 +79,7 @@ namespace Ichni.RhythmGame
{
Vector3 currentEulerAngles = new Vector3(eulerAngleX.value, eulerAngleY.value, eulerAngleZ.value);
targetTransformSubmodule.eulerAnglesOffset += currentEulerAngles;
targetTransformSubmodule.eulerAnglesDirtyMark = true;
targetTransformSubmodule.MarkEulerAnglesDirty();
}
}
else if (isSwitching)
@@ -105,7 +105,7 @@ namespace Ichni.RhythmGame
animationReturnType = FlexibleReturnType.MiddleExecuting;
Vector3 currentEulerAngles = new Vector3(eulerAngleX.value, eulerAngleY.value, eulerAngleZ.value);
targetTransformSubmodule.eulerAnglesOffset += currentEulerAngles;
targetTransformSubmodule.eulerAnglesDirtyMark = true;
targetTransformSubmodule.MarkEulerAnglesDirty();
}
}
else