This commit is contained in:
MuHua-123
2026-09-22 14:47:51 +08:00
parent 6891f43baa
commit 1960e499c4
8 changed files with 34 additions and 34 deletions
@@ -49,7 +49,7 @@ namespace MuHua {
public virtual void Update() {
if (data == null || data.element == null) { return; }
Vector3 offset = data.element.worldBound.position - Slide.worldBound.position;
Slide.transform.position += offset * Time.deltaTime * 20;
Slide.transform.position += offset * Time.unscaledDeltaTime * 20;
}
/// <summary> 设置UI项 </summary>