This commit is contained in:
2025-08-06 18:01:28 +08:00
parent 1ed93da3bc
commit d2a14c0941
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ namespace Stary.Evo.UIFarme
activePanel.name = this.GetType().Name;
if (!activePanel.GetComponent<Canvas>())
if (!activePanel.GetComponentInChildren<Canvas>())
{
Debug.LogError($"UnityEvo:panelParent上不存在Canvas组件,{panelName}无法正常运行,进程已中断,请检查!!!!!");
return null;