功能批量实现 优化 服务端 新浮动小游戏框架 新界面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
+2 -2
View File
@@ -202,7 +202,7 @@ public class SkillBuilder : MonoBehaviour
{
if (_allAllyHeroSOs != null && _allAllyHeroSOs.Length > 0) return;
_allAllyHeroSOs = Resources.LoadAll<AllyHero_SO>("");
_allAllyHeroSOs = RuntimeResourcesCache.LoadAllAllyHeroes();
_allyHeroSoById = new Dictionary<int, AllyHero_SO>(_allAllyHeroSOs != null ? _allAllyHeroSOs.Length : 0);
_allyHeroSoBySlotCache = new Dictionary<int, AllyHero_SO>(8);
@@ -764,7 +764,7 @@ public class SkillBuilder : MonoBehaviour
else
{
// fallback to previous behavior if index missing
var all = Resources.LoadAll<AllyHero_SO>("");
var all = RuntimeResourcesCache.LoadAllAllyHeroes();
foreach (var a in all)
{
if (a != null && a.ally_heroID == id) { result = a; break; }