From 7f11e90aa5e69f0dcd9dd342608e49e08123cd37 Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Thu, 20 Mar 2025 10:55:05 +0800 Subject: [PATCH] add HideInCallstack for DebugService --- src/DebugUtils/UnityDebugService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/DebugUtils/UnityDebugService.cs b/src/DebugUtils/UnityDebugService.cs index 15a8bca..4f6a7d7 100644 --- a/src/DebugUtils/UnityDebugService.cs +++ b/src/DebugUtils/UnityDebugService.cs @@ -34,6 +34,9 @@ namespace DCFApixels.DragonECS { return new UnityDebugService(); } +#if UNITY_2021_3_OR_NEWER + [HideInCallstack] +#endif public override void Print(string tag, object v) { if (v is Exception e)