code cleanup

This commit is contained in:
DCFApixels 2025-02-28 12:50:35 +08:00
parent 21a2d48991
commit 396537731e
5 changed files with 10 additions and 13 deletions

View File

@ -1,13 +1,10 @@
//#undef DEBUG
using UnityEngine;
using UnityEngine.Rendering;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
using DCFApixels.DebugXCore;
using DCFApixels.DebugXCore.Internal;
#if UNITY_EDITOR
using UnityEditor;
#endif
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
using UnityEngine;
using UnityEngine.Rendering;
namespace DCFApixels
{

View File

@ -1,7 +1,7 @@
//#undef DEBUG
using DCFApixels.DebugXCore;
using UnityEngine;
using UnityEngine.Rendering;
using DCFApixels.DebugXCore;
namespace DCFApixels
{

View File

@ -1,6 +1,6 @@
//#undef DEBUG
using UnityEngine;
using DCFApixels.DebugXCore.Internal;
using UnityEngine;
namespace DCFApixels
{

View File

@ -1,9 +1,9 @@
using DCFApixels.DebugXCore;
using UnityEngine;
using UnityEngine.Rendering;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using UnityEngine.Rendering;
namespace DCFApixels
{
@ -235,7 +235,7 @@ namespace DCFApixels
#endregion
}
#endregion
#endregion
}
}
}

View File

@ -41,7 +41,7 @@ namespace DCFApixels.DebugXCore
field.SetValue(obj, meshFilter.sharedMesh);
}
else
{
{
Debug.LogWarning(field.Name + " not found.");
}
}