This commit is contained in:
2025-08-08 10:58:06 +08:00
parent b7bea26318
commit 695c255db1
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -1,7 +1,7 @@
{ {
"name": "com.staryevo.uifarme", "name": "com.staryevo.uifarme",
"displayName": "06.UIFarme", "displayName": "06.UIFarme",
"version": "1.0.13", "version": "1.0.14",
"description": "UI模板框架工具", "description": "UI模板框架工具",
"unity": "2021.3", "unity": "2021.3",
"unityRelease": "30f1", "unityRelease": "30f1",