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
@@ -27,8 +27,8 @@ public static class UI_SelectSong_AutoPlayToggleBinder
// Prefer the user's specified hierarchy if present (active only).
GameObject go =
GameObject.Find("rightInfos/difficultyBtnInfos/difficultyBtnInfos/select_Auto") ??
GameObject.Find("rightInfos/difficultyBtnInfos/select_Auto");
SceneObjectLookupCache.Find("rightInfos/difficultyBtnInfos/difficultyBtnInfos/select_Auto") ??
SceneObjectLookupCache.Find("rightInfos/difficultyBtnInfos/select_Auto");
if (go == null)
{
@@ -73,7 +73,7 @@ public class UI_SelectSong_EnterAnim : MonoBehaviour
root = transform.parent as RectTransform;
if (root == null)
{
Canvas canvas = Object.FindAnyObjectByType<Canvas>();
Canvas canvas = SceneObjectLookupCache.FindAny<Canvas>();
if (canvas != null)
{
root = canvas.transform as RectTransform;