public void AnalyzerTexture()
{
this.width = this.texture.width;
this.height = this.texture.height;
this.size = CalculateTextureSizeBytes(this.texture);
this.ti = AssetImporter.GetAtPath(path) as TextureImporter;
if (ti != null)
{
this.isRW = ti.isReadable;
androidPlatSetting.isSetting = ti.GetPlatformTextureSettings(TexturePlatSetting.PLAT_ANDROID,
out androidPlatSetting.maxSize, out androidPlatSetting.textureFormat);
iosPlatSetting.isSetting = ti.GetPlatformTextureSettings(TexturePlatSetting.PLAT_IPHONE,
out iosPlatSetting.maxSize, out iosPlatSetting.textureFormat);
standalonePlatSetting.isSetting = ti.GetPlatformTextureSettings(TexturePlatSetting.PLAT_STANDALONE,
out standalonePlatSetting.maxSize, out standalonePlatSetting.textureFormat);
this.isMipmap = ti.mipmapEnabled;
this.isLightmap = ti.lightmap;
this.anisoLevel = ti.anisoLevel;
}
CheckValid();
}