This commit is contained in:
SoulliesOfficial
2026-03-19 14:14:28 -04:00
parent 45366d8f84
commit a1b831ecbf
1987 changed files with 8901800 additions and 740 deletions

View File

@@ -125,10 +125,8 @@ namespace Ichni.RhythmGame
/// </summary>
public void SetTransformObserver()
{
transformSubmodule.observer = Observable.EveryUpdate()
.Where(_ => GameManager.Instance.songPlayer.isUpdating)
.Subscribe(_ => UpdateTransform())
.AddTo(transformSubmodule.attachedGameElement);
// 旧版的 UniRx 各自监听已淘汰,现由 GameManager 中枢在 LateUpdate 统一下发 UpdateTransform()
// 如果有一些特殊物体需要极其特殊时序,可覆盖此方法或手动管理
}
public void UpdateTransform(bool refreshAll = true)