功能批量实现 优化 服务端 新浮动小游戏框架 新界面UI
This commit is contained in:
@@ -97,7 +97,7 @@ public static class PlayerRksService
|
||||
|
||||
private static Player_SO LoadDefaultPlayerSo()
|
||||
{
|
||||
Player_SO[] players = Resources.LoadAll<Player_SO>(string.Empty);
|
||||
Player_SO[] players = RuntimeResourcesCache.LoadAll<Player_SO>(string.Empty);
|
||||
if (players == null)
|
||||
{
|
||||
return null;
|
||||
@@ -116,7 +116,7 @@ public static class PlayerRksService
|
||||
|
||||
private static float CalculateOverallRksRaw()
|
||||
{
|
||||
SongData[] songs = Resources.LoadAll<SongData>(string.Empty);
|
||||
SongData[] songs = RuntimeResourcesCache.LoadAllSongs();
|
||||
if (songs == null || songs.Length == 0)
|
||||
{
|
||||
return 0f;
|
||||
@@ -171,7 +171,7 @@ public static class PlayerRksService
|
||||
|
||||
private static float GetMaxChartConstant()
|
||||
{
|
||||
SongData[] songs = Resources.LoadAll<SongData>(string.Empty);
|
||||
SongData[] songs = RuntimeResourcesCache.LoadAllSongs();
|
||||
float maxConstant = 0f;
|
||||
if (songs == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user