功能批量实现 优化 服务端 新浮动小游戏框架 新界面UI
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user