功能批量实现 优化 服务端 新浮动小游戏框架 新界面UI
This commit is contained in:
@@ -345,7 +345,7 @@ public class AllyHero_SO : ScriptableObject
|
||||
}
|
||||
#endif
|
||||
|
||||
return Resources.LoadAll<AllyHero_SO>("so/ally");
|
||||
return RuntimeResourcesCache.LoadAll<AllyHero_SO>("so/ally");
|
||||
}
|
||||
|
||||
private static void TryAddEquipmentSkillGroupId(List<int> result, HashSet<int> dedupe, int groupId)
|
||||
@@ -678,7 +678,7 @@ public class AllyHero_SO : ScriptableObject
|
||||
UnityEditor.AssetDatabase.SaveAssets();
|
||||
#endif
|
||||
|
||||
AllyHero_SO[] runtimeHeroes = Resources.LoadAll<AllyHero_SO>("so/ally");
|
||||
AllyHero_SO[] runtimeHeroes = RuntimeResourcesCache.LoadAll<AllyHero_SO>("so/ally");
|
||||
for (int i = 0; i < runtimeHeroes.Length; i++)
|
||||
{
|
||||
AllyHero_SO hero = runtimeHeroes[i];
|
||||
|
||||
Reference in New Issue
Block a user