From 3f7e09908800d96640d36652a2eb9e35dce25995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=93=AE?= <834207172@qq.com> Date: Fri, 8 Aug 2025 11:00:16 +0800 Subject: [PATCH] 111 --- Assets/06.UIFarme/RunTime/Base/BasePanel.cs | 2 +- Assets/06.UIFarme/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/06.UIFarme/RunTime/Base/BasePanel.cs b/Assets/06.UIFarme/RunTime/Base/BasePanel.cs index fdc3f37..57bd8cb 100644 --- a/Assets/06.UIFarme/RunTime/Base/BasePanel.cs +++ b/Assets/06.UIFarme/RunTime/Base/BasePanel.cs @@ -189,7 +189,7 @@ namespace Stary.Evo.UIFarme activePanel.name = this.GetType().Name; - if (!activePanel.GetComponentInChildren() || !activePanel.GetComponentInParent()) + if (!activePanel.GetComponentInChildren() && !activePanel.GetComponentInParent()) { Debug.LogError($"UnityEvo:panelParent上不存在Canvas组件,{panelName}无法正常运行,进程已中断,请检查!!!!!"); return null; diff --git a/Assets/06.UIFarme/package.json b/Assets/06.UIFarme/package.json index ddba372..d296732 100644 --- a/Assets/06.UIFarme/package.json +++ b/Assets/06.UIFarme/package.json @@ -1,7 +1,7 @@ { "name": "com.staryevo.uifarme", "displayName": "06.UIFarme", - "version": "1.0.14", + "version": "1.0.15", "description": "UI模板框架工具", "unity": "2021.3", "unityRelease": "30f1",