UI update 02
This commit is contained in:
@@ -57,7 +57,7 @@ public class uRecentGameHistory : MonoBehaviour
|
||||
}
|
||||
|
||||
ClearEntries(previewEntries, gameHistoryParent);
|
||||
cachedSongs = Resources.LoadAll<SongData>(SongResourcesPath);
|
||||
cachedSongs = RuntimeResourcesCache.LoadSongsFromPath(SongResourcesPath);
|
||||
|
||||
var records = RecentPlayHistoryStore.GetRecords();
|
||||
if (records == null)
|
||||
@@ -176,7 +176,7 @@ public class uRecentGameHistory : MonoBehaviour
|
||||
{
|
||||
if (cachedSongs == null || cachedSongs.Length == 0)
|
||||
{
|
||||
cachedSongs = Resources.LoadAll<SongData>(SongResourcesPath);
|
||||
cachedSongs = RuntimeResourcesCache.LoadSongsFromPath(SongResourcesPath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user