Merge branch 'main' into dev

This commit is contained in:
DCFApixels 2025-04-21 00:13:45 +08:00
commit 89427b41f9
2 changed files with 3 additions and 3 deletions

View File

@ -406,7 +406,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;
@ -414,7 +414,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;

View File

@ -8,7 +8,7 @@
"displayName": "DebugX", "displayName": "DebugX",
"description": "", "description": "",
"unity": "2021.3", "unity": "2021.3",
"version": "0.8.10", "version": "0.8.11",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/DCFApixels/DebugX.git" "url": "https://github.com/DCFApixels/DebugX.git"