From 881c95f34c033633e14d22a49ee10bf821ffae25 Mon Sep 17 00:00:00 2001 From: Y-way Date: Mon, 10 Mar 2025 15:09:00 +0800 Subject: [PATCH] Update MacrosProcessor.cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复编译错误 --- Assets/YooAsset/Editor/Assembly/MacrosProcessor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/YooAsset/Editor/Assembly/MacrosProcessor.cs b/Assets/YooAsset/Editor/Assembly/MacrosProcessor.cs index 4a245f8b..17e24a28 100644 --- a/Assets/YooAsset/Editor/Assembly/MacrosProcessor.cs +++ b/Assets/YooAsset/Editor/Assembly/MacrosProcessor.cs @@ -125,7 +125,7 @@ namespace YooAsset.Editor // 1. 读取现有内容 ReadRspFile(ref existingDefines, ref otherLines); // 2. 添加新宏 - if (macrosToAdd != null && macrosToAdd.Count > 0)) + if (macrosToAdd != null && macrosToAdd.Count > 0) { macrosToAdd.ForEach(x => { @@ -134,7 +134,7 @@ namespace YooAsset.Editor }); } // 3. 移除指定宏 - if (macrosToRemove != null && macrosToRemove.Count > 0)) + if (macrosToRemove != null && macrosToRemove.Count > 0) { macrosToRemove.ForEach(x => {