UI换了很多,spine主视觉停用

This commit is contained in:
FloatGaming
2026-06-15 20:17:25 +08:00
parent 5eec879582
commit 216ab08e8d
3634 changed files with 814422 additions and 382766 deletions
@@ -374,7 +374,7 @@ public class TeamSelectorAnimController : MonoBehaviour
void FlashTeammatesProfiles()
{
GameObject go = GameObject.Find("teammates_profilesHorizontalLayout");
GameObject go = SceneObjectLookupCache.Find("teammates_profilesHorizontalLayout");
if (go == null) return;
CanvasGroup cg = EnsureCanvasGroup(go.transform as RectTransform);
if (cg == null) return;
@@ -532,7 +532,7 @@ static class TeamSelectorAnimBootstrap
{
if (installed) return;
installed = true;
GameObject runner = GameObject.Find("__TeamSelectorAnimRunner");
GameObject runner = SceneObjectLookupCache.Find("__TeamSelectorAnimRunner");
if (runner == null)
{
runner = new GameObject("__TeamSelectorAnimRunner");
-2
View File
@@ -62,8 +62,6 @@ public class newTeamSelector : MonoBehaviour
StartCoroutine(LoadSelectedHeroesNextFrame());
}
void Update() { }
private IEnumerator LoadSelectedHeroesNextFrame()
{
yield return null;
@@ -199,7 +199,7 @@ public class loadSettlementTeamPrefab : MonoBehaviour
}
// Health: try to find AllyCombatant by name ally_01..ally_05
var allyGo = GameObject.Find($"ally_0{i+1}");
var allyGo = SceneObjectLookupCache.Find($"ally_0{i+1}");
if (allyGo != null)
{
var ac = allyGo.GetComponent<AllyCombatant>();