diff --git a/Assets/Scripts/UI/PageController.cs b/Assets/Scripts/UI/PageController.cs index 20c61a2..a4f89e2 100644 --- a/Assets/Scripts/UI/PageController.cs +++ b/Assets/Scripts/UI/PageController.cs @@ -466,8 +466,8 @@ public class PageController : MonoBehaviour var tipPanel = GameObject.Find("TipPanel"); if (tipPanel == null) { - var allT = Resources.FindObjectsOfTypeAll(); - foreach(var t in allT) { if (t.name == "TipPanel") { tipPanel = t.gameObject; break; } } + var allTips = Resources.FindObjectsOfTypeAll(); + foreach(var t in allTips) { if (t.name == "TipPanel") { tipPanel = t.gameObject; break; } } } if (tipPanel != null) tipPanel.SetActive(true); // ---------------------------------------------------------------------