Merge pull request #1640 from ousttrue/fix/CanExportAsEditorAssetFile_message

error message
This commit is contained in:
ousttrue
2022-05-11 15:18:59 +09:00
committed by GitHub

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;