超大量的更新 修复很多问题,gameplay特效初步
This commit is contained in:
@@ -17,7 +17,7 @@ public class SongDataLoader : MonoBehaviour
|
||||
{
|
||||
if (!Directory.Exists(jsonDirectory))
|
||||
{
|
||||
Debug.LogError("JSON Îļþ¼Ð²»´æÔÚ£¡");
|
||||
Debug.LogError("JSON �ļ��в����ڣ�");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,8 @@ public class SongDataLoader : MonoBehaviour
|
||||
string json = File.ReadAllText(file);
|
||||
SongDataSerializable jsonData = JsonUtility.FromJson<SongDataSerializable>(json);
|
||||
loadedSongs.Add(jsonData);
|
||||
Debug.Log($"Loaded song: {jsonData.songName}");
|
||||
// 由于 SongDataSerializable 现在只存储动态分数,不再包含 songName
|
||||
Debug.Log($"Loaded persistent song data from: {Path.GetFileName(file)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user