成就系统 巨大修改 新的ui 黑白效果 等一堆
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user