优化ui,谱面替换,以及科研模糊

This commit is contained in:
FloatGaming
2026-02-25 03:44:41 +08:00
parent 332307d18c
commit 0b75e93f71
114 changed files with 160279 additions and 290 deletions
@@ -329,10 +329,10 @@ public class UI_SongsSelect_RuntimeFeatures : MonoBehaviour
int difficulty = Mathf.Clamp(song.thisLevel_selectedDifficultyID, 0, 3);
TextAsset chart = song.GetChartFile(difficulty);
if (chart == null)
if (chart == null || string.IsNullOrEmpty(chart.text))
{
gNotice.error.display("未找到此难度的关卡");
Debug.LogError($"[Songs_Select] Enter gameplay cancelled: chart missing for '{song.songName}' difficulty {difficulty}.");
gNotice.error.display("本歌曲本难度未找到");
return;
}