资源维护, 更新URP
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user