ui基本完毕,修了一大把的bug

This commit is contained in:
2026-07-13 02:28:39 +08:00
parent 1e20d73e90
commit fd22501f71
958 changed files with 378289 additions and 41038 deletions
@@ -94,9 +94,27 @@ public class preload_allScene : MonoBehaviour
StartCoroutine(DelayedDisableImage());
}
// Compile gameplay shaders now (during preload) so the first note / VFX / UI
// blur does not pay the shader variant compile cost mid-gameplay. Progress is
// shown on the loading overlay; a valid cache skips compilation. Preload starts
// in parallel so resource loading is not blocked by the warm-up.
StartCoroutine(WarmupShadersRoutine());
StartPreload();
}
private IEnumerator WarmupShadersRoutine()
{
gTransBlack overlay = SceneObjectLookupCache.FindAny<gTransBlack>();
yield return GlobalFxShaderWarmer.WarmupRoutine(text =>
{
if (overlay != null)
{
overlay.SetNowLoadingText(text);
}
});
}
private void EnsureOpeningVideoSetup()
{
TryAutoAssignVideoClips();