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 => {