From 9b5c8ae120677b599a72c327fb06a710ca669e04 Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Fri, 7 Feb 2025 14:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/UIOperationList.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Scripts/UI/UIOperationList.cs b/Assets/Scripts/UI/UIOperationList.cs index 29aed0e8..5384d58d 100644 --- a/Assets/Scripts/UI/UIOperationList.cs +++ b/Assets/Scripts/UI/UIOperationList.cs @@ -96,7 +96,6 @@ namespace QFramework.Example Transform title = obj.transform.Find("Title"); var name = title.Find("Name").GetComponent(); name.text = item.Name; - var arrow = title.Find("Arrow").transform; Image highIcon = title.Find("HighIcon").GetComponent(); Color highColor = new Color(25f / 255f, 224f / 255f, 224f / 255f); GameObject subContent = obj.transform.Find("SubContent").gameObject; @@ -104,7 +103,6 @@ namespace QFramework.Example subContent.gameObject.SetActive(false); btn.name = btns.Count.ToString(); btns.Add(btn); - arrow.gameObject.SetActive(subContent.transform.childCount > 0); btn.onClick.AddListener(() => { subContent.SetActive(!subContent.activeSelf);