update UIElements

This commit is contained in:
何冠峰
2025-02-28 19:06:17 +08:00
parent 3069b1d1f1
commit 56ae1a8f95
4 changed files with 23 additions and 3 deletions
@@ -590,7 +590,8 @@ namespace YooAsset.Editor
foreach (var selectedItem in selectedItems)
{
var selectElement = selectedItem as ElementTableData;
selectElement.Element.Hidden = e.newValue;
if (selectElement != null)
selectElement.Element.Hidden = e.newValue;
}
// 重绘视图