mirror of
https://github.com/DCFApixels/Unity-DebugX.git
synced 2025-09-18 01:54:37 +08:00
fix defines
This commit is contained in:
parent
a7b06f5af7
commit
23b87225ce
@ -396,7 +396,7 @@ namespace DCFApixels
|
|||||||
[IN(LINE)]
|
[IN(LINE)]
|
||||||
public DrawHandler Gizmo<T>(T value) where T : IGizmo<T>
|
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);
|
GetCurrentContextController().Add(value, Duration, Color);
|
||||||
#endif
|
#endif
|
||||||
return this;
|
return this;
|
||||||
@ -404,7 +404,7 @@ namespace DCFApixels
|
|||||||
[IN(LINE)]
|
[IN(LINE)]
|
||||||
public DrawHandler Gizmos<T>(ReadOnlySpan<T> values) where T : IGizmo<T>
|
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);
|
GetCurrentContextController().AddRange(values, Duration, Color);
|
||||||
#endif
|
#endif
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
Reference in New Issue
Block a user