From 79caa1096dac78a00a6635437a2d2d6e8a14df96 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 5 Aug 2024 15:46:37 +0900 Subject: [PATCH] HideInCallstackAttribute is from 2021.3.23f1 --- Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs b/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs index 594636d4a..07b1e3e25 100644 --- a/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs +++ b/Assets/UniGLTF/Runtime/Utils/UniGLTFLogger.cs @@ -52,7 +52,9 @@ namespace UniGLTF } [System.Diagnostics.Conditional("VRM_DEVELOP")] +#if UNITY_2022_OR_NEWER [HideInCallstack] +#endif public static void Log(string msg, UnityEngine.Object context = null) => s_logger.LogFormat(LogType.Log, context, msg); } } \ No newline at end of file