refactor : Macro scripts control by YOO_ASSET_EXPERIMENT

dev
何冠峰 2025-04-23 16:38:17 +08:00
parent dc46462bfa
commit 9b0bebd981
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
using System.Collections.Generic; using System.Collections.Generic;
#if YOO_ASSET_EXPERIMENT
namespace YooAsset.Editor namespace YooAsset.Editor
{ {
public class MacroDefine public class MacroDefine
@ -15,3 +16,4 @@ namespace YooAsset.Editor
}; };
} }
} }
#endif

View File

@ -5,6 +5,7 @@ using System.Text;
using System.Xml; using System.Xml;
using UnityEditor; using UnityEditor;
#if YOO_ASSET_EXPERIMENT
namespace YooAsset.Editor namespace YooAsset.Editor
{ {
[InitializeOnLoad] [InitializeOnLoad]
@ -102,3 +103,4 @@ namespace YooAsset.Editor
} }
} }
} }
#endif