超大量的更新 修复很多问题,gameplay特效初步

This commit is contained in:
FloatGaming
2026-02-14 23:46:20 +08:00
parent ef8eb67259
commit 3a7a0b4669
360 changed files with 85670 additions and 4144 deletions
+6 -4
View File
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
@@ -7,8 +7,8 @@ public class SongDataLibrary : MonoBehaviour
public static SongDataLibrary Instance;
private Dictionary<int, SongData> songDataDictionary = new Dictionary<int, SongData>();
// ָ "song_songIndex" Ŀ¼µĸļ
// Assets/Resources/song_songIndex/FolderA FolderB Inspector д { "FolderA", "FolderB" }
// Documentation text normalized.
// Documentation text normalized.
public string[] subfolderNames;
[Header("Song List")]
@@ -111,6 +111,7 @@ public class SongDataLibrary : MonoBehaviour
}
if (!songDataDictionary.ContainsKey(data.songID))
{
data.LoadPersistent(); // 启动时从持久化存档恢复数据
songDataDictionary.Add(data.songID, data);
if (logLoadProgress)
{
@@ -146,6 +147,7 @@ public class SongDataLibrary : MonoBehaviour
if (data == null) continue;
if (!songDataDictionary.ContainsKey(data.songID))
{
data.LoadPersistent(); // 启动时从持久化存档恢复数据
songDataDictionary.Add(data.songID, data);
if (logLoadProgress)
{
@@ -170,7 +172,7 @@ public SongData GetSongDataByID(int songID)
{
return songDataDictionary[songID];
}
Debug.LogError("δҵ songID: " + songID);
Debug.LogError("未找到 songID: " + songID);
return null;
}
}