From b852819b70082655dc7d0b80dece0d6bf710d097 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 25 Jul 2024 14:07:36 +0900 Subject: [PATCH] error message --- Assets/UniGLTF/Runtime/Extensions/UnityExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/UniGLTF/Runtime/Extensions/UnityExtensions.cs b/Assets/UniGLTF/Runtime/Extensions/UnityExtensions.cs index dc394f2f0..43b7da04b 100644 --- a/Assets/UniGLTF/Runtime/Extensions/UnityExtensions.cs +++ b/Assets/UniGLTF/Runtime/Extensions/UnityExtensions.cs @@ -438,7 +438,7 @@ namespace UniGLTF } else { - throw new ArgumentException($"no {nameof(T)}"); + throw new ArgumentException($"no {typeof(T)}"); } } @@ -450,7 +450,7 @@ namespace UniGLTF } else { - throw new ArgumentException($"no {nameof(T)}"); + throw new ArgumentException($"no {typeof(T)}"); } }