fix defines

This commit is contained in:
DCFApixels 2025-04-17 23:55:41 +08:00
parent a7b06f5af7
commit 23b87225ce

View File

@ -396,7 +396,7 @@ namespace DCFApixels
[IN(LINE)]
public DrawHandler Gizmo<T>(T value) where T : IGizmo<T>
{
#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<T>(ReadOnlySpan<T> values) where T : IGizmo<T>
{
#if UNITY_EDITOR || !DISABLE_DEBUGX_INBUILD
#if UNITY_EDITOR || !DEBUGX_DISABLE_INBUILD
GetCurrentContextController().AddRange(values, Duration, Color);
#endif
return this;