功能批量实现 优化 服务端 新浮动小游戏框架 新界面UI

This commit is contained in:
FloatGaming
2026-04-24 13:20:16 +08:00
parent e0bc0bbf08
commit 5eec879582
257 changed files with 38481 additions and 1288 deletions
+3 -3
View File
@@ -262,7 +262,7 @@ public class UI_Player : MonoBehaviour
private static int CountOwnedHeroes()
{
AllyHero_SO[] loadedHeroes = Resources.LoadAll<AllyHero_SO>(string.Empty);
AllyHero_SO[] loadedHeroes = RuntimeResourcesCache.LoadAllAllyHeroes();
HashSet<int> uniqueHeroIds = new HashSet<int>();
int ownedCount = 0;
@@ -289,7 +289,7 @@ public class UI_Player : MonoBehaviour
private static SongStats CollectSongStats()
{
SongData[] songs = Resources.LoadAll<SongData>(SongResourcesPath);
SongData[] songs = RuntimeResourcesCache.LoadSongsFromPath(SongResourcesPath);
HashSet<int> uniqueSongIds = new HashSet<int>();
SongStats stats = new SongStats();
@@ -301,7 +301,7 @@ public class UI_Player : MonoBehaviour
continue;
}
song.LoadPersistent();
song.EnsurePersistentDataLoaded();
if (song.isUnlocked)
{