资源维护, 更新URP

This commit is contained in:
2025-11-28 01:16:00 +08:00
parent b7040da28a
commit 46c6ed519c
632 changed files with 11833 additions and 163259 deletions

View File

@@ -94,7 +94,8 @@ namespace Demo.Editor
// 传递时间切片
UI.TimelineItem.clip = new(leftClipFrom + time, rightClipTo + time);
}
UpdateUI();
using (Profiler.BeginZone(nameof(UpdateUI)))
UpdateUI();
if (IsLowPerformance)
return;
@@ -149,7 +150,8 @@ namespace Demo.Editor
SpectrumRawImage.texture = SpectrumRenderTexture;
}
}
UpdateSpectrumRenderTexture();
using (Profiler.BeginZone(nameof(UpdateSpectrumRenderTexture)))
UpdateSpectrumRenderTexture();
}
private void InjectSongLoadOverCallback(BasicAudioSystem audio)