diff --git a/Runtime/Gizmos/DebugX.base.cs b/Runtime/Gizmos/DebugX.base.cs index 201f021..de0acd6 100644 --- a/Runtime/Gizmos/DebugX.base.cs +++ b/Runtime/Gizmos/DebugX.base.cs @@ -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 { diff --git a/Runtime/Gizmos/DebugX.lines.cs b/Runtime/Gizmos/DebugX.lines.cs index ac57ace..e04573b 100644 --- a/Runtime/Gizmos/DebugX.lines.cs +++ b/Runtime/Gizmos/DebugX.lines.cs @@ -1,7 +1,7 @@ //#undef DEBUG +using DCFApixels.DebugXCore; using UnityEngine; using UnityEngine.Rendering; -using DCFApixels.DebugXCore; namespace DCFApixels { diff --git a/Runtime/Gizmos/DebugX.raycasts.cs b/Runtime/Gizmos/DebugX.raycasts.cs index fe7b499..59c2724 100644 --- a/Runtime/Gizmos/DebugX.raycasts.cs +++ b/Runtime/Gizmos/DebugX.raycasts.cs @@ -1,6 +1,6 @@ //#undef DEBUG -using UnityEngine; using DCFApixels.DebugXCore.Internal; +using UnityEngine; namespace DCFApixels { diff --git a/Runtime/Gizmos/DebugX.text.cs b/Runtime/Gizmos/DebugX.text.cs index b84dd9f..a8d6b5f 100644 --- a/Runtime/Gizmos/DebugX.text.cs +++ b/Runtime/Gizmos/DebugX.text.cs @@ -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 } } } \ No newline at end of file diff --git a/Runtime/Utils/DebugXUtility.cs b/Runtime/Utils/DebugXUtility.cs index c3f4bca..57f3d0b 100644 --- a/Runtime/Utils/DebugXUtility.cs +++ b/Runtime/Utils/DebugXUtility.cs @@ -41,7 +41,7 @@ namespace DCFApixels.DebugXCore field.SetValue(obj, meshFilter.sharedMesh); } else - { + { Debug.LogWarning(field.Name + " not found."); } }