error message

This commit is contained in:
ousttrue 2022-05-11 14:57:07 +09:00
parent aa49a8352b
commit 46a1898edf

View File

@ -42,7 +42,7 @@ namespace VRMShaders
return false;
default:
// Not Supported TextureImporterType
throw new ArgumentOutOfRangeException();
throw new ArgumentException($"{texture}: textureImporter.textureType {textureImporter.textureType} is not supported. Only Default or NormalMap is supported");
}
return true;