defines refactoring

This commit is contained in:
DCFApixels 2025-03-14 17:02:34 +08:00
parent 0b3bffe5e7
commit 5da7bfd4fb
16 changed files with 62 additions and 13 deletions

View File

@ -1,3 +1,6 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity; using DCFApixels.DragonECS.Unity;
using UnityEngine; using UnityEngine;

View File

@ -1,3 +1,6 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;

View File

@ -1,4 +1,7 @@
using UnityEngine; #if DISABLE_DEBUG
#undef DEBUG
#endif
using UnityEngine;
#if UNITY_EDITOR #if UNITY_EDITOR
using UnityEditor; using UnityEditor;
#endif #endif

View File

@ -1,4 +1,7 @@
using System; #if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using UnityEngine; using UnityEngine;
#if UNITY_EDITOR #if UNITY_EDITOR
using UnityEditor; using UnityEditor;

View File

@ -1,3 +1,6 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using UnityEngine; using UnityEngine;
using DCFApixels.DragonECS.Unity; using DCFApixels.DragonECS.Unity;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity;
using UnityEngine; using UnityEngine;
namespace DCFApixels.DragonECS namespace DCFApixels.DragonECS

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.RunnersCore; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.RunnersCore;
using DCFApixels.DragonECS.Unity.Internal; using DCFApixels.DragonECS.Unity.Internal;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity;
using UnityEngine; using UnityEngine;
namespace DCFApixels.DragonECS namespace DCFApixels.DragonECS

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity;
using DCFApixels.DragonECS.Unity.Internal; using DCFApixels.DragonECS.Unity.Internal;
using System; using System;
using System.Linq; using System.Linq;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity;
using DCFApixels.DragonECS.Unity.Internal; using DCFApixels.DragonECS.Unity.Internal;
using System; using System;
using System.Linq; using System.Linq;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity.Editors; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity.Editors;
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using UnityEngine; using UnityEngine;

View File

@ -1,4 +1,8 @@
namespace DCFApixels.DragonECS #if DISABLE_DEBUG
#undef DEBUG
#endif
namespace DCFApixels.DragonECS
{ {
public interface IEntityTemplate : ITemplateNode { } public interface IEntityTemplate : ITemplateNode { }

View File

@ -1,4 +1,7 @@
using System; #if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity;
using DCFApixels.DragonECS.Unity.Internal; using DCFApixels.DragonECS.Unity.Internal;
using System; using System;
using UnityEngine; using UnityEngine;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity;
using DCFApixels.DragonECS.Unity.Internal; using DCFApixels.DragonECS.Unity.Internal;
using System; using System;
using UnityEngine; using UnityEngine;

View File

@ -1,4 +1,7 @@
using DCFApixels.DragonECS.Unity.Editors; #if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.Unity.Editors;
using System; using System;
using UnityEngine; using UnityEngine;