public TextureImporterNPOTScale NpotScaleSetup()
{
TextureImporterNPOTScale t = new TextureImporterNPOTScale();
if(TextureImporterSetting.npotIndex == 0) t = TextureImporterNPOTScale.None;
if(TextureImporterSetting.npotIndex == 1) t = TextureImporterNPOTScale.ToLarger;
if(TextureImporterSetting.npotIndex == 2) t = TextureImporterNPOTScale.ToNearest;
if(TextureImporterSetting.npotIndex == 3) t = TextureImporterNPOTScale.ToSmaller;
return t;
}