This commit is contained in:
Masataka SUMI 2022-11-03 18:34:13 +09:00
parent 29c4686af4
commit fd293b5f4c

View File

@ -17,14 +17,15 @@ namespace VRMShaders
break;
case "image/jpeg":
break;
case "":
Debug.Log($"Texture image MIME type is empty.");
break;
case null:
Debug.Log($"Texture image MIME type is empty.");
break;
default:
Debug.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
if (string.IsNullOrEmpty(textureInfo.DataMimeType))
{
Debug.Log($"Texture image MIME type is empty.");
}
else
{
Debug.Log($"Texture image MIME type `{textureInfo.DataMimeType}` is not supported.");
}
break;
}