From 23b87225ce0c3207e8e268eb17dcb33af139751d Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 17 Apr 2025 23:55:41 +0800 Subject: [PATCH 1/2] fix defines --- Runtime/DebugX.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/DebugX.cs b/Runtime/DebugX.cs index 29a49f0..a8b8fe3 100644 --- a/Runtime/DebugX.cs +++ b/Runtime/DebugX.cs @@ -396,7 +396,7 @@ namespace DCFApixels [IN(LINE)] public DrawHandler Gizmo(T value) where T : IGizmo { -#if UNITY_EDITOR || !DISABLE_DEBUGX_INBUILD +#if UNITY_EDITOR || !DEBUGX_DISABLE_INBUILD GetCurrentContextController().Add(value, Duration, Color); #endif return this; @@ -404,7 +404,7 @@ namespace DCFApixels [IN(LINE)] public DrawHandler Gizmos(ReadOnlySpan values) where T : IGizmo { -#if UNITY_EDITOR || !DISABLE_DEBUGX_INBUILD +#if UNITY_EDITOR || !DEBUGX_DISABLE_INBUILD GetCurrentContextController().AddRange(values, Duration, Color); #endif return this; From e4cd108ad9e1a3c86c813368b5a6d66e442b139b Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 17 Apr 2025 23:56:05 +0800 Subject: [PATCH 2/2] up version to 0.8.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b916268..1dccc36 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "displayName": "DebugX", "description": "", "unity": "2021.3", - "version": "0.8.10", + "version": "0.8.11", "repository": { "type": "git", "url": "https://github.com/DCFApixels/DebugX.git"