From 9589cb145f27f06d49ec1f2f65934daed8e5658b Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 11 Jul 2022 20:28:12 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E5=AE=9F=E8=A3=85=E3=81=A7=E3=81=82?= =?UTF-8?q?=E3=82=8B=E3=81=93=E3=81=A8=E3=81=8C=E5=88=86=E3=81=8B=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/UniGLTF/Serialization/NullableSerialization.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/UniGLTF/Editor/UniGLTF/Serialization/NullableSerialization.cs b/Assets/UniGLTF/Editor/UniGLTF/Serialization/NullableSerialization.cs index 7b2ecda26..d129bbec1 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/Serialization/NullableSerialization.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/Serialization/NullableSerialization.cs @@ -7,7 +7,10 @@ namespace UniGLTF { public NullableSerialization(Type t, string path, JsonSchemaAttribute attr, string prefix) { - + if (t != typeof(int)) + { + throw new NotImplementedException(); + } } public Type ValueType => typeof(Int32);