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
+2 -2
View File
@@ -49,7 +49,7 @@ public static class UISystemBootstrap
Debug.Log("RegisterButtons Called");
// Find all Selectable objects (includes Button, Toggle, Slider, etc.)
Selectable[] selectables = Object.FindObjectsOfType<Selectable>(true);
Selectable[] selectables = Object.FindObjectsByType<Selectable>(FindObjectsInactive.Include, FindObjectsSortMode.None);
foreach (var sel in selectables)
{
@@ -75,4 +75,4 @@ public static class UISystemBootstrap
sel.gameObject.AddComponent<UIButtonInteraction>();
}
}
}
}