标签: c# unity3d
给出以下代码
Texture my_image = Resources.Load<Texture>("cool_weapon");
是否可以确定图像的原始mime类型?
string mime_type = GetMimeType(my_image); mime_type; // "image/png", "image/jpg", etc