成就系统 巨大修改 新的ui 黑白效果 等一堆

This commit is contained in:
2026-01-23 18:43:23 +08:00
parent f3ece026ca
commit 0e47864569
256 changed files with 134131 additions and 31192 deletions
+10 -7
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using UnityEngine;
@@ -51,7 +51,7 @@ public class SongData : ScriptableObject
public float songDuration;
public int game_enterTimes;
public int time_totalPlayingTime;
public float time_totalPlayingTime;
public DateTime uploadData;
[Header("各种图")]
@@ -106,13 +106,15 @@ public class SongData : ScriptableObject
if (chartFileMap == null) chartFileMap = new Dictionary<int, TextAsset>();
// If chartFiles exist in inspector, ensure maps reflect them
if (chartFiles != null && chartFiles.Count > 0)
{
SyncRecordsFromChartFiles();
SyncChartFileMap();
}
// Commented out automatic sync — disabled per request
// if (chartFiles != null && chartFiles.Count > 0)
// {
// SyncRecordsFromChartFiles();
// SyncChartFileMap();
// }
}
/*
// 构造函数:从 JSON 数据创建 SongData
public SongData(SongDataSerializable jsonData)
{
@@ -160,6 +162,7 @@ public class SongData : ScriptableObject
chartScoreMap[entry.difficulty] = entry.lastScoreForThisDifficulty;
}
}
*/
// 获取所有难度中最高的成绩(谱面分 + 偶像分 的最大和)
public int CalculateHighestPersonalRecord()