diff --git a/Runtime/DebugX.cs b/Runtime/DebugX.cs index d37c53c..ef28e5b 100644 --- a/Runtime/DebugX.cs +++ b/Runtime/DebugX.cs @@ -406,7 +406,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; @@ -414,7 +414,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; 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"